shan916 / safe-rides

4 stars 0 forks source link

Feature/fix driver active #157

Closed ozerugae closed 6 years ago

ozerugae commented 6 years ago

If a user is deactivated they "lose" their roles. Essentially they become a rider when the jwt is generated but in the database, they still retain their usual roles