Skip to content
Snippets Groups Projects
Unverified Commit 4b3308bf authored by Bjoern Schiessle's avatar Bjoern Schiessle
Browse files

fix can change password check in case of encryption is enabled


Admin should _not_ be able to change password when:
- if an encryption module is loaded and it uses per-user keys
- if encryption is enabled but no encryption modules are loaded

Admin should be able to change the password when:
- no encryption module is loaded and encryption is disabled
- encryption module is loaded but it doesn't require per user keys

Signed-off-by: default avatarBjoern Schiessle <bjoern@schiessle.org>
parent 9e9b0473
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment