Skip to content

Prevent creation of local Grav accounts for LDAP users with failed logins #34

@aasampaio

Description

@aasampaio

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions