Open akylus opened 4 years ago
let's have a separate login route for admins only. checking "isAdmin" property for every user doesn't make sense opinion @akylus
why would we need to check isAdmin. we can have a JSON which stores the admin IDs, while Signing in, if the ID exists in the JSON, show those routes in the menubar, else don't Opinion?
ooF yeah, okay
let's have a separate login route for admins only. checking "isAdmin" property for every user doesn't make sense opinion @akylus