memory: Sessions.newSession can be called with a forced session ID
This commit is contained in:
parent
a67c8094f5
commit
830b6d8ef6
1 changed files with 9 additions and 7 deletions
|
|
@ -352,7 +352,7 @@ SàT team""" % {'login': login, 'jid': "%s@%s" % (login, self.getConfig('new_acc
|
|||
@param password (str): the new password
|
||||
@param profile (str): %(doc_profile)s
|
||||
"""
|
||||
session_id, dummy = self._sessions.newSession({'new_password': password}, profile)
|
||||
session_id, dummy = self._sessions.newSession({'new_password': password}, profile=profile)
|
||||
form_ui = xml_tools.XMLUI("form", title=D_("Change your password?"), submit_id=self.__change_password_id, session_id=session_id)
|
||||
form_ui.addText(D_("Note for advanced users: this will actually change both your SàT profile password AND your XMPP account password."))
|
||||
form_ui.addText(D_("Continue with changing the password?"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue