<p>I should've realized that this was a plugin issue, that changes everything. Thanks for the lead, Brad.</p>

CC BY-SA 4.0
2018-07-23T19:40:17.237Z
2018-07-23T19:40:17.237Z
Marcus
<p>Here's an odd one: I have a site with many users, only a few of them admins. Any admin user can login either via the /admin control panel or through a frontend login, which follows <a href="https://docs.craftcms.com/v3/dev/examples/login-form.html" rel="nofollow noreferrer">the example from the documentation</a>.</p>

<p>Any non-admin users will be rebuffed on either login with an "Invalid username or password" message. Even more odd, if an admin user attempts to "Login as" a non-admin user from the control panel, it simply takes them back to the dashboard with a "Logged In" message, but keeps them logged in as their original admin role.</p>

<p>Any ideas on what maybe to look for or test?</p>

CC BY-SA 4.0
2018-07-23T19:03:08.457Z
In case you're wondering, a non-admin user can be given all the privileges of an admin user, but it still won't log them in. Being in the admin group is the only way the login forms will work.
Marcus
CC BY-SA 4.0
2018-07-23T19:35:11.680Z
You have any plugins installed hooking into the login process by chance?
Brad Bell
<craft3><login><user-groups>
Craft 3: Non-Admin Users Can't Login
# Craft 3: Non-Admin Users Can't Login

(Asked by: username_0 on 2018-07-23)

Here's an odd one: I have a site with many users, only a few of them admins. Any admin user can login either via the /admin control panel or through a frontend login, which follows [the example from the documentation](https://docs.craftcms.com/v3/dev/examples/login-form.html).

Any non-admin users will be rebuffed on either login with an "Invalid username or password" message. Even more odd, if an admin user attempts to "Login as" a non-admin user from the control panel, it simply takes them back to the dashboard with a "Logged In" message, but keeps them logged in as their original admin role.

Any ideas on what maybe to look for or test?

**Tags:** craft3, login, user-groups
> **Comments:**
> **username_0**: In case you're wondering, a non-admin user can be given all the privileges of an admin user, but it still won't log them in. Being in the admin group is the only way the login forms will work.  
> **username_1**: You have any plugins installed hooking into the login process by chance?  

---

## 1 answers

### Answer by username_0 on 2018-07-23. Score: 1 | Accepted answer

I should've realized that this was a plugin issue, that changes everything. Thanks for the lead, Brad.


---

