projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bugfix : configuration du baseHref pour que les images s’affichent correctement même...
[Plinn.git]
/
skins
/
control
/
reset_password_control.py
diff --git
a/skins/control/reset_password_control.py
b/skins/control/reset_password_control.py
index
f903e24
..
8cdcdb1
100644
(file)
--- a/
skins/control/reset_password_control.py
+++ b/
skins/control/reset_password_control.py
@@
-2,8
+2,8
@@
from Products.CMFCore.utils import getUtilityByInterfaceName
rtool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IRegistrationTool')
from Products.CMFCore.utils import getUtilityByInterfaceName
rtool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IRegistrationTool')
-
msg
= rtool.resetPassword(uuid, password, confirm)
+
userid, msg
= rtool.resetPassword(uuid, password, confirm)
if msg :
if msg :
-
return
context.setStatus(False, msg)
-else :
- return True
\ No newline at end of file
+ context.setStatus(False, msg)
+
+return userid
\ No newline at end of file