diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties index 2fde50e99..103a9e678 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties +++ b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties @@ -214,6 +214,7 @@ user.details.updated=details updated. user.delete.message=The following user {0} will be deleted password.reset=Reset Password password.reset.success=Password reset. +rememberme=Remember Me #roles management roles.management.header=Roles Management diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/user.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/user.js index 18813aaf8..e1b3fe7c3 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/user.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/user.js @@ -354,6 +354,7 @@ function(jquery,utils,i18n,jqueryValidate,ko,koSimpleGrid) { if(user.rememberme){ $("#user-login-form-username" ).val(user.username); $("#user-login-form-password" ).val(user.password); + $("#user-login-form-rememberme" ).attr("checked","true"); } } else { $.log("user not in cookie");