Laravel授权404 [英] Laravel authorization 404

查看:418
本文介绍了Laravel授权404的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用2天laravel(当前的稳定版本),现在,阅读文档后...​​起到了一点与模板系统和一些其他的东西。

Been using laravel (current stable version) for 2 days now, and after reading the documentation... played a bit with the templating systems and some other stuff.

现在安装管理局一起的 Laravel管理员的我的问题是,当我尝试打开 HTTP://local.laravel/admin 这重定向我 HTTP://local.laravel/user/login 并在404魔法发生这

Now after installing Authority bundle along with Laravel-Administrator the problem I have is that when I try opening http://local.laravel/admin which redirects me to http://local.laravel/user/login and it's when the 404 magic happens.

我的日志点好,我真的不知道还有什么地方或什么其他的事情,尝试和调试这...任何想法?

My logs point good and I really don't know where else or what else to do, to try and debug this... any ideas?

推荐答案

对于Laravel和stept开始了这个问题的人,我不得不设立订单,它不是在提到包的安装教程中提到的登录表单

For anyone beginning with Laravel and stept into this problem, I had to set up the login form in order form, which it's not mentioned in the mentioned Bundle's install tutorials.


  1. 我改变了用户/登录登录配置/ administrator.php - &GT ; login_path

  2. 添加路由器来处理登录和注销

在这篇文章中 HTTP的更多细节://$c$chappy.daylerees.com/authentication

这篇关于Laravel授权404的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆