Cancellato il campo password in caso di errore
git-svn-id: svn://10.65.10.50/trunk@1236 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
0f008e78ad
commit
5f0cd593f2
@ -488,8 +488,11 @@ bool TMenu_application::check_user()
|
||||
ok = pwd.not_empty() && pwd == m.get(F_PASSWORD);
|
||||
if (ok)
|
||||
user() = utente;
|
||||
else
|
||||
else
|
||||
{
|
||||
error_box("Utente e/o password errata:\nfare attenzione alle maiuscole");
|
||||
m.set(F_PASSWORD,"");
|
||||
}
|
||||
}
|
||||
return ok;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user