Login auth check if user is admin
Hi, I added a bool value "is_admin" to the users to check, if the user is allowed to login to the backend.
Now, I want to integrate the check, but I don't know how I should do that.
Why? I want to use the users table to interact with user values in the frontend. some users are admins and should be able to login to the backend. It might be possible to remove admin-status of several users or add the admin status.
Now, I want to integrate the check, but I don't know how I should do that.
Why? I want to use the users table to interact with user values in the frontend. some users are admins and should be able to login to the backend. It might be possible to remove admin-status of several users or add the admin status.