From 2d7ae6eac87bbc93eacf6aaf115b91ce7766f98e Mon Sep 17 00:00:00 2001 From: opi Date: Thu, 20 Feb 2014 12:59:03 +0100 Subject: [PATCH] Fix: store new password to avoid re-login. --- js/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/app.js b/js/app.js index 70d3a2ba..3b0a7fc2 100644 --- a/js/app.js +++ b/js/app.js @@ -670,6 +670,7 @@ app = Sammy('#main', function (sam) { delete params['confirm_new_password']; // Update password and redirect to the home c.api('/adminpw', function(data) { // http://api.yunohost.org/#!/tools/tools_adminpw_put_3 + store.set('password', btoa(params['new_password'])); c.redirect('#/'); }, 'PUT', params); }