mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-10-28 19:02:51 +00:00
Compare commits
1 commit
ca0cf0b8ea
...
3dabc99a9f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3dabc99a9f |
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ func (s *UserService) CheckUser(username string, password string, twoFactorCode
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if !crypto.CheckPasswordHash(user.Password, password) {
|
if !crypto.CheckPasswordHash(user.Password, password) {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue