Skip to content

Instantly share code, notes, and snippets.

@Donclurd
Donclurd / AuthManager.php
Created February 24, 2015 12:58
Backend Authentication
<?php namespace App\Domain\Backend\Auth;
use Illuminate\Auth\EloquentUserProvider;
class AuthManager extends \Illuminate\Auth\AuthManager
{
protected function createEloquentProvider()
{
$model = 'App\Models\BackendUser';