token-validator: last fixes
This commit is contained in:
parent
4d768e268a
commit
4e23744f60
3 changed files with 15 additions and 13 deletions
|
|
@ -105,7 +105,7 @@ func (s Student) NewKey(key string) (k StudentKey, err error) {
|
|||
} else if kid, err := res.LastInsertId(); err != nil {
|
||||
return StudentKey{}, err
|
||||
} else {
|
||||
s.UnlockNewChallenge(9, "")
|
||||
s.UnlockNewChallenge(11, "")
|
||||
return StudentKey{kid, s.Id, key, time.Now()}, nil
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue