Files

134 lines
4.7 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is used in auth pages. If null, uses config('app.name').
|
*/
'app_name' => env('AUTH_APP_NAME'),
/*
|--------------------------------------------------------------------------
| Auth Features
|--------------------------------------------------------------------------
|
| Enable or disable various authentication features.
|
*/
'features' => [
'registration' => env('AUTH_ENABLE_REGISTRATION', true),
'password_reset' => env('AUTH_ENABLE_PASSWORD_RESET', true),
'remember_me' => env('AUTH_ENABLE_REMEMBER_ME', true),
'email_verification' => env('AUTH_ENABLE_EMAIL_VERIFICATION', false),
],
/*
|--------------------------------------------------------------------------
| Login Page Configuration
|--------------------------------------------------------------------------
*/
'login' => [
'title' => env('AUTH_LOGIN_TITLE', 'Welcome back!'),
'description' => env('AUTH_LOGIN_DESCRIPTION', 'Sign in to your account to continue.'),
'icon' => env('AUTH_LOGIN_ICON', 'i-lucide-lock'),
'submit_label' => env('AUTH_LOGIN_SUBMIT', 'Sign in'),
],
/*
|--------------------------------------------------------------------------
| Register Page Configuration
|--------------------------------------------------------------------------
*/
'register' => [
'title' => env('AUTH_REGISTER_TITLE', 'Create an account'),
'description' => env('AUTH_REGISTER_DESCRIPTION', 'Enter your details to get started.'),
'icon' => env('AUTH_REGISTER_ICON', 'i-lucide-user-plus'),
'submit_label' => env('AUTH_REGISTER_SUBMIT', 'Create account'),
],
/*
|--------------------------------------------------------------------------
| Forgot Password Page Configuration
|--------------------------------------------------------------------------
*/
'forgot_password' => [
'title' => env('AUTH_FORGOT_PASSWORD_TITLE', 'Forgot password?'),
'description' => env('AUTH_FORGOT_PASSWORD_DESCRIPTION', 'Enter your email and we\'ll send you a reset link.'),
'icon' => env('AUTH_FORGOT_PASSWORD_ICON', 'i-lucide-key'),
'submit_label' => env('AUTH_FORGOT_PASSWORD_SUBMIT', 'Send reset link'),
],
/*
|--------------------------------------------------------------------------
| Reset Password Page Configuration
|--------------------------------------------------------------------------
*/
'reset_password' => [
'title' => env('AUTH_RESET_PASSWORD_TITLE', 'Reset password'),
'description' => env('AUTH_RESET_PASSWORD_DESCRIPTION', 'Enter your new password below.'),
'icon' => env('AUTH_RESET_PASSWORD_ICON', 'i-lucide-lock-keyhole'),
'submit_label' => env('AUTH_RESET_PASSWORD_SUBMIT', 'Reset password'),
],
/*
|--------------------------------------------------------------------------
| SSO Providers
|--------------------------------------------------------------------------
|
| Configure social login providers. Each provider needs to be configured
| in config/services.php as well. Only enabled providers will be shown.
|
| Supported: "github", "google", "facebook", "twitter", "linkedin", etc.
|
*/
'providers' => [
// 'github' => [
// 'label' => 'GitHub',
// 'icon' => 'i-simple-icons-github',
// 'enabled' => env('AUTH_GITHUB_ENABLED', false),
// ],
// 'google' => [
// 'label' => 'Google',
// 'icon' => 'i-simple-icons-google',
// 'enabled' => env('AUTH_GOOGLE_ENABLED', false),
// ],
],
/*
|--------------------------------------------------------------------------
| Redirect Paths
|--------------------------------------------------------------------------
*/
'redirects' => [
'login' => env('AUTH_REDIRECT_LOGIN', '/dashboard'),
'logout' => env('AUTH_REDIRECT_LOGOUT', '/'),
'register' => env('AUTH_REDIRECT_REGISTER', '/dashboard'),
],
/*
|--------------------------------------------------------------------------
| Terms & Privacy Links
|--------------------------------------------------------------------------
*/
'legal' => [
'terms_url' => env('AUTH_TERMS_URL'),
'privacy_url' => env('AUTH_PRIVACY_URL'),
'show_in_register' => env('AUTH_SHOW_LEGAL_IN_REGISTER', true),
],
];