Closed mul14 closed 9 years ago
Is there a reason you're limiting the password to 64 characters here?
I limit the password just because modules/backend/models/User.php have password rules like this
public $rules = [
// ..
'password' => 'required:create|between:4,64|confirmed',
'password_confirmation' => 'required_with:password|between:4,64'
];
Wasn't sure on the specific validation rules without checking, so that's fine.
I wonder whether it'd be a good idea to remove the (upper) limit at some point...
I've tried put 100 chars password, and it fails.
We have 2 options here. Give user warning before this happen or remove the maximum password limit.
Thanks!
I bumped the max values to 255 all round
This happen because of password rules on this file https://github.com/octobercms/october/blob/master/modules/backend/models/User.php#L26-L27
So, we should warn the user before installation progress fails.