Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Trust and Identity Incubator
Test_IdP
Commits
8f2442a9
Commit
8f2442a9
authored
Sep 10, 2021
by
Martin van Es
Browse files
Make Error message customizable in logins.json
parent
e29579ae
Changes
2
Show whitespace changes
Inline
Side-by-side
config/logins.json
View file @
8f2442a9
...
...
@@ -589,5 +589,14 @@
]
}
}
},
"Error Scenarios"
:
{
"message"
:
"Error scenario(s) message"
,
"profiles"
:
{
"error"
:
{
"explanation"
:
"Error Test explanation"
,
"display"
:
"Error Test display"
}
}
}
}
modules/customauth/templates/authenticate.tpl.php
View file @
8f2442a9
...
...
@@ -38,9 +38,6 @@
}
}
?>
<option></option>
<option
value=
"Error Scenarios"
>
--- Error Scenarios ---
</option>
<option
value=
"error"
>
SAML Error
</option>
</select>
</div>
<div
id=
"explanation"
style=
'display: grid'
>
Woohaa!
</div><br
style=
"clear: both"
/>
...
...
@@ -76,9 +73,6 @@
}
?>
explanations
[
'
Error Scenarios
'
]
=
"
These are the Error Scenarios
"
;
explanations
[
'
error
'
]
=
"
This generates a SAML Error
"
;
function
update
()
{
var
html
=
""
;
for
(
let
key
in
users
[
user
])
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment