Skip to content

Commit

Permalink
Merge pull request #61 from nsidc/login_redirect
Browse files Browse the repository at this point in the history
Redirect to home page after login
  • Loading branch information
rmarow authored Jul 26, 2023
2 parents dcb7662 + 2fb1216 commit c660b5c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions usaon_vta_survey/routes/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ def login():
user = ensure_user_exists(resp.json())
login_user(user)

email = user.id
# TODO: redirect to profile page for new user only
return f"You are logged in: {email}"
return redirect('/')


@app.before_request
Expand Down

0 comments on commit c660b5c

Please sign in to comment.