Skip to content

taiga: make password recovery impossible for passwordless users#239

Open
mgrzeschik wants to merge 1 commit into
taigaio:mainfrom
mgrzeschik:passwordlessrecovery
Open

taiga: make password recovery impossible for passwordless users#239
mgrzeschik wants to merge 1 commit into
taigaio:mainfrom
mgrzeschik:passwordlessrecovery

Conversation

@mgrzeschik
Copy link
Copy Markdown

@mgrzeschik mgrzeschik commented May 17, 2026

This is a short fix to prevent users with no active password set for the used login scheme
to recover the password and therefor gain a second pair of login credentials.

This scenario can be a possible loophole to gain back access for users that where disabled
by LDAP e.g.

…sers

By testing if the user has a valid password set in the first place, it
is possible to prevent setting one for other authentication schemes.
@mgrzeschik mgrzeschik force-pushed the passwordlessrecovery branch from da7af6e to 7f1a28a Compare May 18, 2026 07:19
@mgrzeschik
Copy link
Copy Markdown
Author

Just removed the change password code part, since it is a whole other story. Changing the password is already prevented for passwordless logings, since no password will ever match for the change to begin with.

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.

1 participant