HackRU / helpq

💁 an extensible real-time queue application, for mentorship @ hackathons and classrooms
http://ehz.io/HELPq-data
MIT License
3 stars 1 forks source link

update user role on login #7

Closed mjrb closed 6 years ago

mjrb commented 6 years ago

if a user logs in and they are marked as a mentor in lcs then give them the mentor role in helpq

mjrb commented 6 years ago

I'm pretty sure this is done but needs more testing. @hemangandhi could I potentially get the test account marked as a mentor. to test the hacker role I will use my own hackru account.

mjrb commented 6 years ago

works but if already mentor don't update

mjrb commented 6 years ago

we actually don't want to do this any more so that we can over ride users and manually make mentors and change user data

mjrb commented 6 years ago

it will check on first login if mentor and also get their name but thats it