We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a155873 commit 8b7bfceCopy full SHA for 8b7bfce
app/Http/Controllers/Employees/Auth/AuthController.php
@@ -3,7 +3,6 @@
3
namespace plunner\Http\Controllers\Employees\Auth;
4
5
use Illuminate\Http\Request;
6
-use Log;
7
use plunner\Company;
8
use plunner\employee;
9
use plunner\Http\Controllers\Controller;
@@ -45,6 +44,12 @@ class AuthController extends Controller
45
44
*/
46
protected $custom = ['mode' => 'en'];
47
+ /**
48
+ * unique identifiers of the user
49
+ * @var array
50
+ */
51
+ protected $usernames = ['company_id', 'email'];
52
+
53
/**
54
* @var company
55
0 commit comments