Change user account password function

This commit is contained in:
yflory
2018-06-22 10:37:54 +02:00
parent 6fde027a6c
commit a146f6acc9
6 changed files with 99 additions and 62 deletions

View File

@@ -661,8 +661,8 @@ define([
Cryptpad.changePadPassword(Cryptget, href, data.password, edPublic, cb);
});
sframeChan.on('Q_OWN_USER_DRIVE', function (data, cb) {
Cryptpad.ownUserDrive(Cryptget, edPublic, cb);
sframeChan.on('Q_CHANGE_USER_PASSWORD', function (data, cb) {
Cryptpad.changeUserPassword(Cryptget, edPublic, data, cb);
});
sframeChan.on('Q_WRITE_LOGIN_BLOCK', function (data, cb) {