欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

改写登录表单的程序 有大用

public function showLoginForm()

{

   $view = property_exists($this, 'loginView')

       ? $this->loginView : 'auth.authenticate';



   if (view()->exists($view)) {

       return view($view);

   }



   return view('admin.auth.login');

}

image.png

普通分类: