diff --git a/core/js/login.js b/core/js/login.js index 186b21423f..33ec868cb2 100644 --- a/core/js/login.js +++ b/core/js/login.js @@ -21,9 +21,4 @@ OC.Login = _.extend(OC.Login || {}, { }); $(document).ready(function() { $('form[name=login]').submit(OC.Login.onLogin); - - //set previous state of remember login checkbox - if($('label[for="remember_login"]').attr('previously') === 'checked'){ - $('#remember_login').prop('checked', true); - } }); diff --git a/core/templates/login.php b/core/templates/login.php index 590b035bce..a12008295c 100644 --- a/core/templates/login.php +++ b/core/templates/login.php @@ -67,13 +67,12 @@ script('core', [