Merge branch 'main' into fix/simplified-deletion-of-refresh-token
This commit is contained in:
commit
b63eba70e2
4 changed files with 16 additions and 13 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue