Skip to content

Commit

Permalink
fix: set user to authenticate
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Urban committed May 1, 2024
1 parent ca5b095 commit b0a35c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/internal/handlers/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ func (h *Handler) HandleLogin(w http.ResponseWriter, r *http.Request) {
return
}
oneTimeStore[oneTimeToken] = TokenInfo{true, inputUser.Email}
slog.Info("token set")
sendJSONResponse(w, response, http.StatusOK)
}

Expand Down

0 comments on commit b0a35c6

Please sign in to comment.