remember os account

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-03-30 22:01:43 +08:00
parent 39917c174a
commit 86c063eecb
2 changed files with 4 additions and 1 deletions

View File

@@ -1143,7 +1143,6 @@ impl Connection {
}
fn validate_password(&mut self) -> bool {
return true;
if password::temporary_enabled() {
let password = password::temporary_password();
if self.validate_one_password(password.clone()) {