I think the problem here is the passwordStengthRegularExpression
is an empty string - I can't say for sure because I can't see anything in the docs with regards to how it's checked. However, if you were to do something like
var match = Regex.Match("My password string", "");
It would return no matches, the only string that would match a pattern of ""
is...""
. If you aren't interested in providing a password strength mechanism then omit the attribute completely or alternatively use a "capture all" type regex e.g.
passwordStrengthRegularExpress=".+"