Commit 3926b987 authored by Yadd's avatar Yadd
Browse files

StayConnected checkbox (closes: #1131)

parent 109e5840
...@@ -182,6 +182,7 @@ sub display { ...@@ -182,6 +182,7 @@ sub display {
MAIL_URL => $self->conf->{mailUrl}, MAIL_URL => $self->conf->{mailUrl},
REGISTER_URL => $self->conf->{registerUrl}, REGISTER_URL => $self->conf->{registerUrl},
HIDDEN_INPUTS => $self->buildHiddenForm($req), HIDDEN_INPUTS => $self->buildHiddenForm($req),
STAYCONNECTED => $self->conf->{stayConnected},
); );
# Display captcha if it's enabled # Display captcha if it's enabled
......
...@@ -177,6 +177,7 @@ ...@@ -177,6 +177,7 @@
"serviceProvidedBy":"Service provided by", "serviceProvidedBy":"Service provided by",
"sessionsDeleted":"The following sessions have been closed", "sessionsDeleted":"The following sessions have been closed",
"SSOSessionInactive":"SSO session inactive", "SSOSessionInactive":"SSO session inactive",
"stayConnected": "Stay connected on this device",
"submit":"Submit", "submit":"Submit",
"touchU2fDevice": "Please touch the flashing U2F device now.", "touchU2fDevice": "Please touch the flashing U2F device now.",
"u2fFailed": "U2F verification failed. Retry or contact your administrator", "u2fFailed": "U2F verification failed. Retry or contact your administrator",
......
...@@ -177,6 +177,7 @@ ...@@ -177,6 +177,7 @@
"serviceProvidedBy":"Ce service est fourni par", "serviceProvidedBy":"Ce service est fourni par",
"sessionsDeleted":"Les sessions suivantes ont été fermées", "sessionsDeleted":"Les sessions suivantes ont été fermées",
"SSOSessionInactive":"Session SSO inactive", "SSOSessionInactive":"Session SSO inactive",
"stayConnected": "Rester connecté sur cet appareil",
"submit":"Envoyer", "submit":"Envoyer",
"touchU2fDevice": "Poser votre doigt sur le périphérique U2F", "touchU2fDevice": "Poser votre doigt sur le périphérique U2F",
"u2fFailed": "La vérification U2F a échoué, réessayez ou contactez votre administrateur", "u2fFailed": "La vérification U2F a échoué, réessayez ou contactez votre administrateur",
......
...@@ -7,4 +7,11 @@ ...@@ -7,4 +7,11 @@
</label> </label>
</div> </div>
</TMPL_IF> </TMPL_IF>
<TMPL_IF NAME="STAYCONNECTED">
<div class="checkbox">
<label for="stayconnected">
<input type="checkbox" id="stayconnected" name="stayconnected" />
<span trspan="stayConnected">Stay connected on this device</span>
</label>
</div>
</TMPL_IF>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment