mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Fix locale (fix #6995)
This commit is contained in:
parent
9443f3f9e6
commit
9607db7604
4 changed files with 4 additions and 2 deletions
|
|
@ -293,7 +293,7 @@ print [[
|
|||
var frmpassreset = $('#form_password_reset');
|
||||
frmpassreset.submit(function () {
|
||||
if(!isValidPassword($("#new_password_input").val())) {
|
||||
password_alert.error("Password contains invalid chars. Please use valid ISO8859-1 (latin1) letters and numbers."); return(false);
|
||||
password_alert.error("]] print(i18n("invalid_password")) print[["); return(false);
|
||||
}
|
||||
if(isDefaultPassword($("#new_password_input").val())) {
|
||||
password_alert.error("Password is weak. Please choose a stronger password."); return(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue