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 creation of local Grav accounts for LDAP users with failed logins #34

Open
aasampaio opened this issue Sep 25, 2024 · 0 comments

Comments

@aasampaio
Copy link

Hi!

I've noticed that if a user is not part of the allowed LDAP groups and tries to log-in, the user still gets created as a local account in Grav's backend. This occurs when the "Save Grav user" option is enabled., which seems to be necessary for correct permission mapping (view issue #33).

This should not happen when a user fails to log-in, as the "Save Grav user" info states that it "Saves the logged in user as a local Grav account". The user should only be added as a local account after a successful login.

@aasampaio aasampaio changed the title Auto-delete LDAP users with failed logins Prevent Creation of Local Grav Account for LDAP users with failed logins Sep 25, 2024
@aasampaio aasampaio changed the title Prevent Creation of Local Grav Account for LDAP users with failed logins Prevent creation of local Grav accounts for LDAP users with failed logins Sep 25, 2024
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

No branches or pull requests

1 participant