the bola v2 website
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

users.php 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | User Repository
  6. |--------------------------------------------------------------------------
  7. |
  8. | Statamic uses a repository to get users, roles, groups, and their
  9. | relationships from specified storage locations. The file driver
  10. | gets it from disk, while the eloquent driver gets from a DB.
  11. |
  12. | Supported: "file", "eloquent"
  13. |
  14. */
  15. 'repository' => 'file',
  16. 'repositories' => [
  17. 'file' => [
  18. 'driver' => 'file',
  19. 'paths' => [
  20. 'users' => base_path('users'),
  21. 'roles' => resource_path('users/roles.yaml'),
  22. 'groups' => resource_path('users/groups.yaml'),
  23. ],
  24. ],
  25. 'eloquent' => [
  26. 'driver' => 'eloquent',
  27. ],
  28. ],
  29. /*
  30. |--------------------------------------------------------------------------
  31. | Avatars
  32. |--------------------------------------------------------------------------
  33. |
  34. | User avatars are initials by default, with custom options for services
  35. | like Gravatar.com.
  36. |
  37. | Supported: "initials", "gravatar", or a custom class name.
  38. |
  39. */
  40. 'avatars' => 'initials',
  41. /*
  42. |--------------------------------------------------------------------------
  43. | New User Roles
  44. |--------------------------------------------------------------------------
  45. |
  46. | When registering new users through the user:register_form tag, these
  47. | roles will automatically be applied to your newly created users.
  48. |
  49. */
  50. 'new_user_roles' => [
  51. //
  52. ],
  53. /*
  54. |--------------------------------------------------------------------------
  55. | Password Brokers
  56. |--------------------------------------------------------------------------
  57. |
  58. | When resetting passwords, Statamic uses an appropriate password broker.
  59. | Here you may define which broker should be used for each situation.
  60. | You may want a longer expiry for user activations, for example.
  61. |
  62. */
  63. 'passwords' => [
  64. 'resets' => 'resets',
  65. 'activations' => 'activations',
  66. ],
  67. /*
  68. |--------------------------------------------------------------------------
  69. | DB Connection
  70. |--------------------------------------------------------------------------
  71. |
  72. | Default database connection.
  73. |
  74. */
  75. 'database' => config('database.default'),
  76. /*
  77. |--------------------------------------------------------------------------
  78. | Authentication Guards
  79. |--------------------------------------------------------------------------
  80. |
  81. | By default, Statamic will use the `web` authentication guard. However,
  82. | if you want to run Statamic alongside the default Laravel auth
  83. | guard, you can configure that for your cp and/or frontend.
  84. |
  85. */
  86. 'guards' => [
  87. 'cp' => 'web',
  88. 'web' => 'web',
  89. ],
  90. ];