kossiitkgp / kwoc-2018

Web app for Kharagpur Winter of Code, 2018
https://kwoc.kossiitkgp.org
MIT License
0 stars 0 forks source link

Added the support for displaying the username #55

Closed yashrsharma44 closed 5 years ago

yashrsharma44 commented 5 years ago

This PR adds the support for displaying the username in github login button, once user has logged in. If not logged in, it sets LOGIN

yashrsharma44 commented 5 years ago

~~I think, that the callback url needs to be updated for the Github OAuth, as after successful login, the page is redirected to the callback url. If the user is logged in, the callback url is used for redirection. So we need to set the callback url to /profile or /dashboard, in the Github OAuth.~~ @thealphadollar @dibyadas My bad, only change required was setting the redirection to /dashboard page