Skip to content

Commit 375efd9

Browse files
committed
Merge pull request #4 from pythonhackers/user_management_basics
redirect user to home page after login
2 parents 6396bcf + acd793b commit 375efd9

File tree

1 file changed

+4
-2
lines changed
  • src/pyhackers/controllers/oauth

1 file changed

+4
-2
lines changed

src/pyhackers/controllers/oauth/ghub.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ def authorized():
9292

9393
login_user(u)
9494

95+
# TODO: Create a task to fetch all the other information..
96+
9597
# starred = user.get_starred()
9698
# for s in starred:
9799
# print s.full_name, s.watchers
@@ -100,5 +102,5 @@ def authorized():
100102

101103
# for e in pub_events:
102104
# print e.id, e.type, e.repo.full_name
103-
104-
return jsonify(user_info) #, response_data.get("access_token")
105+
return redirect("/")
106+
# return jsonify(user_info) #, response_data.get("access_token")

0 commit comments

Comments
 (0)