mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
Disable account registering from disabled email provider
This commit is contained in:
15
src/App/Users/Rules/PasswordValidationRules.php
Normal file
15
src/App/Users/Rules/PasswordValidationRules.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
namespace App\Users\Rules;
|
||||
|
||||
use Laravel\Fortify\Rules\Password;
|
||||
|
||||
trait PasswordValidationRules
|
||||
{
|
||||
/**
|
||||
* Get the validation rules used to validate passwords.
|
||||
*/
|
||||
protected function passwordRules(): array
|
||||
{
|
||||
return ['required', 'string', new Password, 'confirmed'];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user