cloud 9 和 laravel5.1 未显示验证错误
cloud 9 and laravel5.1 not displaying validation error
laravel 的新手,正在使用 cloud9 和 laravel5.1 在订购应用程序上进行试验。我能够创建身份验证并进行订购。但我的问题是,当我尝试使用错误的凭据登录或注册时,错误消息没有显示,有时它突然出现。当 laravel 尝试重定向时,https 或 http 是否重要?您可以在此处查看完整的源代码:https://github.com/2n2n/food4lunch
你可以通过访问这个link来尝试:https://food4lunch-a2n2n-2.c9.io/
与其简单地使用 redirect()
,不如尝试使用:
redirect()->intended($this->redirectPath(), 302, [], true);
强制Laravel作为HTTPS
发送。如果有效,则问题出在重定向上。
laravel 的新手,正在使用 cloud9 和 laravel5.1 在订购应用程序上进行试验。我能够创建身份验证并进行订购。但我的问题是,当我尝试使用错误的凭据登录或注册时,错误消息没有显示,有时它突然出现。当 laravel 尝试重定向时,https 或 http 是否重要?您可以在此处查看完整的源代码:https://github.com/2n2n/food4lunch
你可以通过访问这个link来尝试:https://food4lunch-a2n2n-2.c9.io/
与其简单地使用 redirect()
,不如尝试使用:
redirect()->intended($this->redirectPath(), 302, [], true);
强制Laravel作为HTTPS
发送。如果有效,则问题出在重定向上。