We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 789d50b commit e02df8aCopy full SHA for e02df8a
auth/auth.go
@@ -67,7 +67,7 @@ func (a *Authenticator) GetOrCreateUser(ctx context.Context) (*model.User, error
67
user, err := a.getCurrentUser(ctx)
68
if errors.Is(err, errNotFound) {
69
// Create new user since UserID for cookie has not been created yet
70
- user, err := a.createNewUser()
+ user, err = a.createNewUser()
71
if err != nil {
72
return nil, errors.Wrap(err, "failed to create new user")
73
}
0 commit comments