Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 538 Bytes

readme.md

File metadata and controls

29 lines (25 loc) · 538 Bytes

Add the Volunteer Auth Method

  • open config/auth.php

  • add this to the "guards" array

'volunteer' => [
    'driver' => 'session',
    'provider' => 'volunteers'
],
  • add this to the "providers" array
'volunteers' => [
            'driver' => 'eloquent',
    'model' => \Modules\Volunteers\Models\Volunteer::class,
],
  • add this to the "passwords" array
'volunteers' => [
    'provider' => 'volunteers',
    'email' => 'Emails.Auth.Reminder',
    'table' => 'password_resets',
    'expire' => 60,
],