Skip to content

Commit 8b7bfce

Browse files
committed
major fix for auth
1 parent a155873 commit 8b7bfce

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/Http/Controllers/Employees/Auth/AuthController.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace plunner\Http\Controllers\Employees\Auth;
44

55
use Illuminate\Http\Request;
6-
use Log;
76
use plunner\Company;
87
use plunner\employee;
98
use plunner\Http\Controllers\Controller;
@@ -45,6 +44,12 @@ class AuthController extends Controller
4544
*/
4645
protected $custom = ['mode' => 'en'];
4746

47+
/**
48+
* unique identifiers of the user
49+
* @var array
50+
*/
51+
protected $usernames = ['company_id', 'email'];
52+
4853
/**
4954
* @var company
5055
*/

0 commit comments

Comments
 (0)