Red Hat Bugzilla – Bug 988342
Should not report info when set password with create form and should report create error info when mismath password and confirm password
Last modified: 2013-11-28 06:58:40 EST
Created attachment 778222 [details]
Description of problem:
It should not report info when setting password with creatly form. And it should report creatly error info when mismatch password with confirm password.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Clear install ovirt-node.
2. Set Password in Security page as follows.
3. Set confirm password as follows.
Confirm Password: 123456
In step2, it reports red error info that is the field must contain an empty string or anything(min. 3 chars).
In step3, it reports the same error info as step2.
In step2, it should not report error info.
In step3, it should report mismatch error.
I think Fabiand was working on something to fix this already (there might even be another bug already filed, but I'm not seeing it).
I'll talk to fabiand about this tomorrow. I've been playing around with it here and there but I can't find a way to reliably resolve without going to a middle ground between my initial patches for oVirt Gerrit 15079 and fabiand's changes. I'll see where we can meet in the middle.
A combination of the new validation model and utils.security.password_check resolves this.