説明なし

auth.php 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Default Authentication Driver
  6. |--------------------------------------------------------------------------
  7. |
  8. | This option controls the authentication driver that will be utilized.
  9. | This driver manages the retrieval and authentication of the users
  10. | attempting to get access to protected areas of your application.
  11. |
  12. | Supported: "database", "eloquent"
  13. |
  14. */
  15. 'driver' => 'eloquent',
  16. /*
  17. |--------------------------------------------------------------------------
  18. | Authentication Model
  19. |--------------------------------------------------------------------------
  20. |
  21. | When using the "Eloquent" authentication driver, we need to know which
  22. | Eloquent model should be used to retrieve your users. Of course, it
  23. | is often just the "User" model but you may use whatever you like.
  24. |
  25. */
  26. 'model' => 'App\User',
  27. /*
  28. |--------------------------------------------------------------------------
  29. | Authentication Table
  30. |--------------------------------------------------------------------------
  31. |
  32. | When using the "Database" authentication driver, we need to know which
  33. | table should be used to retrieve your users. We have chosen a basic
  34. | default value but you may easily change it to any table you like.
  35. |
  36. */
  37. 'table' => 'users',
  38. /*
  39. |--------------------------------------------------------------------------
  40. | Password Reset Settings
  41. |--------------------------------------------------------------------------
  42. |
  43. | Here you may set the options for resetting passwords including the view
  44. | that is your password reset e-mail. You can also set the name of the
  45. | table that maintains all of the reset tokens for your application.
  46. |
  47. | The expire time is the number of minutes that the reset token should be
  48. | considered valid. This security feature keeps tokens short-lived so
  49. | they have less time to be guessed. You may change this as needed.
  50. |
  51. */
  52. 'password' => [
  53. 'email' => 'emails.password',
  54. 'table' => 'password_resets',
  55. 'expire' => 60,
  56. ],
  57. ];