📜  手动验证用户 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:32.997000             🧑  作者: Mango

代码示例1
only('email', 'password');

        if (Auth::attempt($credentials)) {
            // Authentication passed...
            return redirect()->intended('dashboard');
        }
    }
}