Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent admin from login on user site #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

furqanramzan
Copy link

Hi! I have tried to log in to admin from the user site and encountered the following error.

Screenshot_20230410_005124

So, what's happening, is that there is no check that the user who tries to log in from the user side should not be admin. I have added it.

Copy link

@arkohaddoebenezer arkohaddoebenezer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how would this be used?, do you mind updating usage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants