欢迎各位兄弟 发布技术文章
这里的技术是共享的
if
(Auth::check()) {
// The user is logged in...
}
(Auth::attempt([
'email'
=>
$email
,
'password'
$password
'active'
=> 1])) {
// The user is active, not suspended, and exists.