Quantcast
Channel: Login only if user is active using Laravel - Stack Overflow
Viewing all articles
Browse latest Browse all 25

Answer by pls13 for Login only if user is active using Laravel

$
0
0

in AuthController override method getCredentials like this:

protected function getCredentials(Request $request) {        $request['active'] = TRUE;        return $request->only($this->loginUsername(), 'password', 'active');}

make sure you have the column active on user table...


Viewing all articles
Browse latest Browse all 25

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>