mirror of
https://github.com/rejetto/hfs2.git
synced 2025-12-19 10:03:56 +01:00
tpl: added warning for low-security change-password action
This commit is contained in:
parent
7c3f5929fa
commit
16744d7c6c
@ -69,7 +69,7 @@ COMMENT with the ones above you can disable some features of the template. They
|
||||
|
||||
function changePwd() {
|
||||
{.if|{.can change pwd.}
|
||||
| ask('<i class="fa fa-key"></i> {.!Change password.}', 'password', function(s){
|
||||
| ask('{.!Warning: the password will be sent unencrypted to the server. For better security change the password from HFS window..}<hr><i class="fa fa-key"></i> {.!Enter new password.}', 'password', function(s){
|
||||
s && ajax('changepwd', {'new':s}, getStdAjaxCB(function(){
|
||||
showLoading(false)
|
||||
showMsg("{.!Password changed.}")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user