mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-05-23 13:37:43 +02:00
Set maximum password length of 256 in UserSettingsWebPage aswell.
This commit is contained in:
parent
be0ea55db8
commit
8bd3cfbf32
@ -200,8 +200,9 @@ UserSettingsWebPage::UserSettingsWebPage() {
|
||||
pw->ignore_if_not_exists();
|
||||
pw->need_to_have_lowercase_character()->need_to_have_uppercase_character();
|
||||
pw->need_minimum_length(5);
|
||||
pw->need_maximum_length(256);
|
||||
|
||||
_profile_validator->new_field("password_check", "Password check")->ignore_if_other_field_not_exists("password")->need_to_match("password");
|
||||
_profile_validator->new_field("password_check", "Password check")->ignore_if_other_field_not_exists("password")->need_maximum_length(256)->need_to_match("password");
|
||||
}
|
||||
|
||||
UserSettingsWebPage::~UserSettingsWebPage() {
|
||||
|
Loading…
Reference in New Issue
Block a user