mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] no ascii chars on passwd #9
This commit is contained in:
parent
f2e01947ed
commit
ff5aa2b413
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue