plugins misc_account, misc_register_account: manually delete the sessions when not needed anymore
This commit is contained in:
parent
8be7416569
commit
ae45889d50
1 changed files with 5 additions and 2 deletions
|
|
@ -360,6 +360,7 @@ SàT team""" % {'login': login, 'jid': "%s@%s" % (login, self.getConfig('new_acc
|
|||
@profile (str): %(doc_profile)s
|
||||
"""
|
||||
password = self._sessions.profileGet(data['session_id'], profile)['new_password']
|
||||
del self._sessions[data['session_id']]
|
||||
|
||||
def passwordChanged(result):
|
||||
d = self.host.memory.setParam(C.PROFILE_PASS_PATH[1], password, C.PROFILE_PASS_PATH[0], profile_key=profile)
|
||||
|
|
|
|||
Loading…
Reference in a new issue