From 16744d7c6caa0f7f0ebe93883f799e0982c446d7 Mon Sep 17 00:00:00 2001 From: Massimo Melina Date: Sun, 7 Jun 2020 11:30:40 +0200 Subject: [PATCH] tpl: added warning for low-security change-password action --- default.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.tpl b/default.tpl index e671500..4bf8bf1 100644 --- a/default.tpl +++ b/default.tpl @@ -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(' {.!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..}
{.!Enter new password.}', 'password', function(s){ s && ajax('changepwd', {'new':s}, getStdAjaxCB(function(){ showLoading(false) showMsg("{.!Password changed.}")