93391f0b926accb178f71b29bb45e41c.yaml.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. return [
  3. '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
  4. 'filename' => 'plugins://login/login.yaml',
  5. 'modified' => 1533014916,
  6. 'data' => [
  7. 'enabled' => true,
  8. 'built_in_css' => true,
  9. 'route' => NULL,
  10. 'redirect_to_login' => true,
  11. 'redirect_after_login' => NULL,
  12. 'redirect_after_logout' => '/',
  13. 'route_activate' => '/activate_user',
  14. 'route_forgot' => '/forgot_password',
  15. 'route_reset' => '/reset_password',
  16. 'route_profile' => '/user_profile',
  17. 'route_register' => '/user_register',
  18. 'route_unauthorized' => '/user_unauthorized',
  19. 'dynamic_page_visibility' => false,
  20. 'parent_acl' => false,
  21. 'protect_protected_page_media' => false,
  22. 'rememberme' => [
  23. 'enabled' => true,
  24. 'timeout' => 604800,
  25. 'name' => 'grav-rememberme'
  26. ],
  27. 'max_pw_resets_count' => 0,
  28. 'max_pw_resets_interval' => 60,
  29. 'max_login_count' => 0,
  30. 'max_login_interval' => 2,
  31. 'user_registration' => [
  32. 'enabled' => false,
  33. 'fields' => [
  34. 0 => 'username',
  35. 1 => 'password',
  36. 2 => 'email',
  37. 3 => 'fullname',
  38. 4 => 'title',
  39. 5 => 'level'
  40. ],
  41. 'default_values' => [
  42. 'level' => 'Newbie'
  43. ],
  44. 'access' => [
  45. 'site' => [
  46. 'login' => 'true'
  47. ]
  48. ],
  49. 'redirect_after_registration' => '',
  50. 'options' => [
  51. 'validate_password1_and_password2' => true,
  52. 'set_user_disabled' => false,
  53. 'login_after_registration' => false,
  54. 'send_activation_email' => false,
  55. 'send_notification_email' => false,
  56. 'send_welcome_email' => false
  57. ]
  58. ]
  59. ]
  60. ];