1
0
Fork 0
mirror of https://github.com/Luzifer/cloudkeys-go.git synced 2024-11-08 14:10:05 +00:00

Handle information for user

This commit is contained in:
Knut Ahlers 2017-01-22 14:44:25 +01:00
parent 1cbfc45f29
commit 51649facaf
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
3 changed files with 6 additions and 5 deletions

View file

@ -395,7 +395,8 @@
} }
_this.password = new_password; _this.password = new_password;
_this.updateData(function() { _this.updateData(function() {
return $('#formEncPWClose').click(); $('#formEncPWClose').click();
return alert('Your encryption password has been changed. Keep this in mind for later.');
}); });
}; };
})(this)); })(this));

File diff suppressed because one or more lines are too long

View file

@ -313,7 +313,7 @@ class CloudKeys
@password = new_password @password = new_password
@updateData => @updateData =>
$('#formEncPWClose').click() $('#formEncPWClose').click()
# TODO: What next? Reload page? Show a message? alert 'Your encryption password has been changed. Keep this in mind for later.'
return return