Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Test_IdP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Trust and Identity Incubator
Test_IdP
Commits
8f2442a9
Commit
8f2442a9
authored
3 years ago
by
Martin van Es
Browse files
Options
Downloads
Patches
Plain Diff
Make Error message customizable in logins.json
parent
e29579ae
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/logins.json
+9
-0
9 additions, 0 deletions
config/logins.json
modules/customauth/templates/authenticate.tpl.php
+0
-6
0 additions, 6 deletions
modules/customauth/templates/authenticate.tpl.php
with
9 additions
and
6 deletions
config/logins.json
+
9
−
0
View file @
8f2442a9
...
@@ -589,5 +589,14 @@
...
@@ -589,5 +589,14 @@
]
]
}
}
}
}
},
"Error Scenarios"
:
{
"message"
:
"Error scenario(s) message"
,
"profiles"
:
{
"error"
:
{
"explanation"
:
"Error Test explanation"
,
"display"
:
"Error Test display"
}
}
}
}
}
}
This diff is collapsed.
Click to expand it.
modules/customauth/templates/authenticate.tpl.php
+
0
−
6
View file @
8f2442a9
...
@@ -38,9 +38,6 @@
...
@@ -38,9 +38,6 @@
}
}
}
}
?>
?>
<option></option>
<option
value=
"Error Scenarios"
>
--- Error Scenarios ---
</option>
<option
value=
"error"
>
SAML Error
</option>
</select>
</select>
</div>
</div>
<div
id=
"explanation"
style=
'display: grid'
>
Woohaa!
</div><br
style=
"clear: both"
/>
<div
id=
"explanation"
style=
'display: grid'
>
Woohaa!
</div><br
style=
"clear: both"
/>
...
@@ -76,9 +73,6 @@
...
@@ -76,9 +73,6 @@
}
}
?>
?>
explanations
[
'
Error Scenarios
'
]
=
"
These are the Error Scenarios
"
;
explanations
[
'
error
'
]
=
"
This generates a SAML Error
"
;
function
update
()
{
function
update
()
{
var
html
=
""
;
var
html
=
""
;
for
(
let
key
in
users
[
user
])
{
for
(
let
key
in
users
[
user
])
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment