mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-05-14 17:32:07 +02:00
Also set a maximum password length of 256 in UserLoginWebPage.
This commit is contained in:
parent
ce26870208
commit
4c0f040ce7
@ -180,6 +180,7 @@ UserLoginWebPage::UserLoginWebPage() {
|
|||||||
pw->need_to_exist();
|
pw->need_to_exist();
|
||||||
pw->need_to_have_lowercase_character()->need_to_have_uppercase_character();
|
pw->need_to_have_lowercase_character()->need_to_have_uppercase_character();
|
||||||
pw->need_minimum_length(5);
|
pw->need_minimum_length(5);
|
||||||
|
pw->need_maximum_length(256);
|
||||||
|
|
||||||
_logged_out_render_type = RENDER_TYPE_RENDER;
|
_logged_out_render_type = RENDER_TYPE_RENDER;
|
||||||
_logged_in_render_type = RENDER_TYPE_ERROR;
|
_logged_in_render_type = RENDER_TYPE_ERROR;
|
||||||
|
Loading…
Reference in New Issue
Block a user