install
This commit is contained in:
22
app/Modules/BaseAuth/Configs/base-auth-config.php
Normal file
22
app/Modules/BaseAuth/Configs/base-auth-config.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Redirect path after login, register, reset password, etc.
|
||||
'redirect_path' => filament_path(),
|
||||
|
||||
// Default username, send from request and for validation, also db column
|
||||
'default_username' => 'username',
|
||||
|
||||
// If multiple usernames are supported for login, will be searched by user columns
|
||||
'multiple_usernames' => true,
|
||||
'usernames' => [
|
||||
'username',
|
||||
'phone',
|
||||
],
|
||||
|
||||
// If auth events should be stored
|
||||
'store_auth_events' => true,
|
||||
|
||||
// If sms verification is enabled, will be sent to the user
|
||||
'sms_verification' => true,
|
||||
];
|
||||
Reference in New Issue
Block a user