Commit 3926b987 authored by Xavier Guimard's avatar Xavier Guimard

StayConnected checkbox (closes: #1131)

parent 109e5840
......@@ -182,6 +182,7 @@ sub display {
MAIL_URL => $self->conf->{mailUrl},
REGISTER_URL => $self->conf->{registerUrl},
HIDDEN_INPUTS => $self->buildHiddenForm($req),
STAYCONNECTED => $self->conf->{stayConnected},
);
# Display captcha if it's enabled
......
......@@ -177,6 +177,7 @@
"serviceProvidedBy":"Service provided by",
"sessionsDeleted":"The following sessions have been closed",
"SSOSessionInactive":"SSO session inactive",
"stayConnected": "Stay connected on this device",
"submit":"Submit",
"touchU2fDevice": "Please touch the flashing U2F device now.",
"u2fFailed": "U2F verification failed. Retry or contact your administrator",
......
......@@ -177,6 +177,7 @@
"serviceProvidedBy":"Ce service est fourni par",
"sessionsDeleted":"Les sessions suivantes ont été fermées",
"SSOSessionInactive":"Session SSO inactive",
"stayConnected": "Rester connecté sur cet appareil",
"submit":"Envoyer",
"touchU2fDevice": "Poser votre doigt sur le périphérique U2F",
"u2fFailed": "La vérification U2F a échoué, réessayez ou contactez votre administrateur",
......
......@@ -7,4 +7,11 @@
</label>
</div>
</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