diff --git a/content/00-welcome/02-manage-access.yaml b/content/00-welcome/02-manage-access.yaml new file mode 100644 index 0000000..dd11ee6 --- /dev/null +++ b/content/00-welcome/02-manage-access.yaml @@ -0,0 +1,16 @@ +meta: + navtitle: 'manage access' + title: 'Manage access' + description: ' Restrict Access for the Website' + heroimage: null + heroimagealt: null + owner: Sebastian + author: Sebastian + allowedrole: null + alloweduser: null + manualdate: null + modified: '2023-05-06' + created: '2023-06-12' + time: 22-36-36 + hide: false + noindex: false diff --git a/system/typemill/Models/Validation.php b/system/typemill/Models/Validation.php index e1be426..27c59d9 100644 --- a/system/typemill/Models/Validation.php +++ b/system/typemill/Models/Validation.php @@ -263,7 +263,7 @@ class Validation $v = new Validator($params); $v->rule('required', ['username', 'password'])->message("Required"); $v->rule('alphaNum', 'username')->message("Invalid characters"); - $v->rule('lengthBetween', 'password', 5, 20)->message("Length between 5 - 20"); + $v->rule('lengthBetween', 'password', 5, 40)->message("Length between 5 - 40"); $v->rule('lengthBetween', 'username', 3, 20)->message("Length between 3 - 20"); if($v->validate()) @@ -914,4 +914,4 @@ class Validation return $output; } -} \ No newline at end of file +}