text4u
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. return [
  3. 'enabled' => env('STATAMIC_OAUTH_ENABLED', false),
  4. 'email_login_enabled' => true,
  5. 'providers' => [
  6. // 'github',
  7. ],
  8. 'routes' => [
  9. 'login' => 'oauth/{provider}',
  10. 'callback' => 'oauth/{provider}/callback',
  11. ],
  12. /*
  13. |--------------------------------------------------------------------------
  14. | Remember Me
  15. |--------------------------------------------------------------------------
  16. |
  17. | Whether or not the "remember me" functionality should be used when
  18. | authenticating using OAuth. When enabled, the user will remain
  19. | logged in indefinitely, or until they manually log out.
  20. |
  21. */
  22. 'remember_me' => true,
  23. ];