Affichage barre de progression et image en local lors de l'upload.
[Plinn.git] / skins / control / reset_password_control.py
1 ##parameters=uuid='', password='', confirm='', **kw
2 from Products.CMFCore.utils import getUtilityByInterfaceName
3 rtool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IRegistrationTool')
4
5 userid, msg = rtool.resetPassword(uuid, password, confirm)
6 if msg :
7 context.setStatus(False, msg)
8
9 return userid