JapSeyz / attendize-volunteer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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,
],

About

License:MIT License


Languages

Language:PHP 47.8%Language:HTML 45.7%Language:JavaScript 3.9%Language:CSS 2.6%