Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fairlogin
keycloak-fairlogin-theme
Commits
ce398a2e
Commit
ce398a2e
authored
May 09, 2018
by
jbuechele
Browse files
added check for registration allowed
parent
c7921e67
Changes
3
Hide whitespace changes
Inline
Side-by-side
fairlogin/login/login.ftl
View file @
ce398a2e
...
...
@@ -11,7 +11,10 @@
<div class="card fat">
<div class="card-body">
<h4 class="card-title">$
{
msg
(
"loginTitleShort"
)}
<a href="$
{
url
.registrationUrl
}
">$
{
msg
(
"signUpTitle"
)}
</a>
<#if realm.registrationAllowed>
$
{
msg
(
"or"
)}
<a href="$
{
url
.registrationUrl
}
">$
{
msg
(
"signUpTitle"
)}
</a>
</#if>
</h4>
<#include "alert.ftl">
<form id="kc-form-login" class="form $
{
properties
.kcFormClass
!
}
" action="$
{
url
.loginAction
}
" method="post">
...
...
@@ -19,7 +22,7 @@
<div class="form-group">
<label for="username">$
{
msg
(
"email"
)}
</label>
<input id="username" type="
email
" class="form-control" name="username" value="" required autofocus>
<input id="username" type="
text
" class="form-control" name="username" value="" required autofocus>
</div>
<div class="form-group">
...
...
fairlogin/login/messages/messages_de.properties
View file @
ce398a2e
...
...
@@ -17,7 +17,7 @@ imprintLink=https://www.fairkom.eu/imprint
imprintText
=
Impressum
email
=
E-Mail-Adresse
loginTotpTitle
=
Einmalpasswort
loginTitleShort
=
Anmeldung
oder
loginTitleShort
=
Anmeldung
signUpTitle
=
Konto erstellen
registerAlreadyAccountText
=
Sie haben bereits ein Konto?
loginTotpStep1
=
Installieren Sie FreeOTP oder Google Authenticator auf Ihrem Smartphone.
...
...
@@ -25,4 +25,5 @@ loginTotpStep2=\u00D6ffnen Sie die Applikation und scannen Sie den Barcode oder
loginTotpStep3
=
Geben Sie den von der Applikation generierten One-time Code ein und klicken Sie auf Absenden.
loginTotpOneTime
=
One-time Code
errorWrongAnswer
=
Sie müssen eine korrekte Antwort auswählen.
correctAnswer
=
Gut gemacht!
\ No newline at end of file
correctAnswer
=
Gut gemacht!
or
=
oder
\ No newline at end of file
fairlogin/login/messages/messages_en.properties
View file @
ce398a2e
...
...
@@ -23,8 +23,9 @@ imprintLink=https://www.fairkom.eu/imprint
imprintText
=
Imprint
email
=
E-Mail Address
loginTotpTitle
=
One-time password
loginTitleShort
=
Login
or
loginTitleShort
=
Login
signUpTitle
=
Sign up
registerAlreadyAccountText
=
Already have an account?
errorWrongAnswer
=
You need to select a correct answer.
correctAnswer
=
Well done!
\ No newline at end of file
correctAnswer
=
Well done!
or
=
or
\ No newline at end of file
Write
Preview
Supports
Markdown
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