Remove the remember me checkbox
parent
58d8a30b5b
commit
487650df78
|
@ -86,7 +86,7 @@
|
|||
|
||||
<!--<label for="password" data-localization="form_password"></label>-->
|
||||
<input type="password" id="password" name="password" class="form-control" data-localization-placeholder="login_password"><br>
|
||||
<span class="remember form-check"><label for="rememberme" class="form-check-label" data-localization-append="login_remember"><input type="checkbox" id="rememberme" class="form-check-input" checked="checked"></label></span><br>
|
||||
<div style="display: none;"><span class="remember form-check"><label for="rememberme" class="form-check-label" data-localization-append="login_remember"><input type="checkbox" id="rememberme" class="form-check-input" checked="checked"></label></span><br></div>
|
||||
<button class="btn btn-secondary login half first" data-localization="login_login"></button> <button class="btn btn-primary register half" data-localization="login_register"></button><br>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
<!--<label for="password" data-localization="form_password"></label>-->
|
||||
<input type="password" id="password" name="password" class="form-control" data-localization-placeholder="login_password"><br>
|
||||
<span class="remember form-check"><label for="rememberme" class="form-check-label" data-localization-append="login_remember"><input type="checkbox" id="rememberme" class="form-check-input" checked="checked"></label></span><br>
|
||||
<div style="display: none;"><span class="remember form-check"><label for="rememberme" class="form-check-label" data-localization-append="login_remember"><input type="checkbox" id="rememberme" class="form-check-input" checked="checked"></label></span><br></div>
|
||||
<button class="btn btn-secondary login half first" data-localization="login_login"></button> <button class="btn btn-primary register half" data-localization="login_register"></button><br>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
<input type="password" class="register" name="confirm" id="confirm_register" data-localization-placeholder="login_confirm"><br />
|
||||
|
||||
<button id="login" data-localization="login_login"></button>
|
||||
<input type="checkbox" name="remember" id="remember" checked="true"><label for="remember" data-localization="login_remember"></label>
|
||||
<div style="display: none;"><input type="checkbox" name="remember" id="remember" checked="true"><label for="remember" data-localization="login_remember"></label></div>
|
||||
</div>
|
||||
|
||||
<div id="notice-panel" class="panel">
|
||||
|
|
|
@ -354,6 +354,7 @@ define([
|
|||
var passwd_confirm = $password_register.val();
|
||||
var confirm = $confirm.val();
|
||||
var remember = $remember[0].checked;
|
||||
remember = true; // TODO : find a way to use a sessionStorage shared with all tabs
|
||||
|
||||
var register = document.location.hash.slice(1) === 'register';
|
||||
|
||||
|
|
Loading…
Reference in New Issue