mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-04 10:24:41 +02:00
Fix #3411
This commit is contained in:
parent
8ed0268351
commit
63769c73cf
@ -685,7 +685,7 @@ in clear-text regardless of the presence of the cache.
|
||||
set() containing the sessions to keep
|
||||
"""
|
||||
self.password = password if raw else User.get_password_context().hash(password)
|
||||
if keep_sessions is not True:
|
||||
if keep_sessions is not True and self.email is not None:
|
||||
utils.MailuSessionExtension.prune_sessions(uid=self.email, keep=keep_sessions)
|
||||
|
||||
def get_managed_domains(self):
|
||||
|
1
towncrier/newsfragments/3411.bugfix
Normal file
1
towncrier/newsfragments/3411.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Ensure we do not nuke all web-sessions when a password is changed using the command line
|
Loading…
Reference in New Issue
Block a user