auth.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. return array(
  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' => '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 Reminder Settings
  41. |--------------------------------------------------------------------------
  42. |
  43. | Here you may set the settings for password reminders, including a view
  44. | that should be used as your password reminder e-mail. You will also
  45. | be able to set the name of the table that holds the reset tokens.
  46. |
  47. */
  48. 'reminder' => array(
  49. 'email' => 'emails.auth.reminder', 'table' => 'password_reminders',
  50. ),
  51. );