Browse Source

fix redirect after login to go to the first level

main
Stephanie Gredell 4 months ago
parent
commit
fcbca6f398
  1. 2
      internal/auth/auth.go

2
internal/auth/auth.go

@ -131,7 +131,7 @@ func CallbackHandler(w http.ResponseWriter, r *http.Request) { @@ -131,7 +131,7 @@ func CallbackHandler(w http.ResponseWriter, r *http.Request) {
Secure: true, // Set to true in production (HTTPS)
})
http.Redirect(w, r, "/play", http.StatusFound)
http.Redirect(w, r, "/play/chat-app", http.StatusFound)
}
func GenerateJWT(userID string, login string, avatarUrl string) (string, error) {

Loading…
Cancel
Save