Closed (fixed)
Project:
Generate Password
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2009 at 15:41 UTC
Updated:
17 Mar 2009 at 13:40 UTC
When trying to create user and there is error on the form (like E-mail address field is required.)
there is still a message:
'Generated password'
but where?
Comments
Comment #1
japanitrat commentedWell, the message is thrown in a validate hook, which gets executed in every case.
I added a check against form_get_errors which disables the password generation if an error has thrown before. I hope this has no side-effects. Try the next release (beta 4)
Thanks for the hint!
Comment #2
kenorb commentedThank you.
Comment #3
japanitrat commented