Skip to content

Prevent admin from login on user site#10

Open
furqanramzan wants to merge 1 commit into
thecodeholic:mainfrom
furqanramzan:fix-admin-login
Open

Prevent admin from login on user site#10
furqanramzan wants to merge 1 commit into
thecodeholic:mainfrom
furqanramzan:fix-admin-login

Conversation

@furqanramzan

Copy link
Copy Markdown

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.

@arkohaddoebenezer arkohaddoebenezer left a comment

Copy link
Copy Markdown

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