[fix] no ascii chars on passwd #9

This commit is contained in:
opi 2014-10-02 10:45:07 +02:00
parent f2e01947ed
commit ff5aa2b413

View file

@ -1467,7 +1467,6 @@ 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('#/logout');
}, 'PUT', params);
}