Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
customization simpleSAMLphp
Commits
dd4a9040
Commit
dd4a9040
authored
Nov 20, 2020
by
Wolfgang Knopki
Browse files
Update loginuserpass.twig, sharpen admin auth hack
parent
f3c799cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
mymodule/themes/fancytheme/core/loginuserpass.twig
View file @
dd4a9040
...
...
@@ -16,7 +16,7 @@
<form
method=
"post"
>
<h2
class=
"sr-only"
>
Login Form
</h2>
<div
class=
"illustration"
><img
src=
"/img/M4_LAB_LOGO.png"
width=
"130"
></div>
{%
-
if
'admin'
in
attribute
(
queryParams
,
"AuthState"
)
-
%}
{%
-
if
'
AuthId=
admin'
in
attribute
(
queryParams
,
"AuthState"
)
-
%}
<div
class=
"form-group"
><input
id=
"username"
class=
"form-control"
type=
"text"
name=
"username"
placeholder=
"Administrator"
></div>
{%
-
else
-
%}
<div
class=
"form-group"
><input
id=
"username"
class=
"form-control"
type=
"email"
name=
"username"
placeholder=
"E-Mail-Adresse"
></div>
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment