omar590
6 months ago
992
2
Laravel

Change The Default Login function

Posted 6 months ago by omar590

I wanted to change e-mail address to username when I log in

so I override username function in my LoginController

but now when I try to log in it just refresh the page without logging in or send back any error

the override function:

public function username() { return 'username'; }

Please sign in or create an account to participate in this conversation.