Merge branch 'main' into fix/simplified-deletion-of-refresh-token

This commit is contained in:
Tim Möhlmann 2025-02-13 13:24:43 +02:00 committed by GitHub
commit b63eba70e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 13 deletions

View file

@ -151,6 +151,9 @@ func (s *Storage) CheckUsernamePassword(username, password, id string) error {
// in this example we'll simply check the username / password and set a boolean to true
// therefore we will also just check this boolean if the request / login has been finished
request.done = true
request.authTime = time.Now()
return nil
}
return fmt.Errorf("username or password wrong")