fix(runtime): закрыть fix2 P0 runtime pass без legacy
This commit is contained in:
@@ -43,6 +43,9 @@ func Login(username string, plainPassword string) (string, bool, error) {
|
||||
}
|
||||
|
||||
requirePasswordChange := legacy
|
||||
if account.ForcePasswordChange != nil {
|
||||
requirePasswordChange = *account.ForcePasswordChange != 0
|
||||
}
|
||||
return token, requirePasswordChange, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user