Skip to content

Commit e613e44

Browse files
committed
1 parent 0ee80b1 commit e613e44

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

app/Http/Controllers/Auth/LoginController.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,14 @@ public function totpCheckpoint(Request $request)
182182
return redirect()->route('auth.login');
183183
}
184184
}
185+
186+
/**
187+
* Get the login username to be used by the controller.
188+
*
189+
* @return string
190+
*/
191+
public function username()
192+
{
193+
return 'user';
194+
}
185195
}

0 commit comments

Comments
 (0)