[英]Why does my Laravel Voyager admin redirect back to login page after successful login
The website that has been turned over to me was created in Laravel. 已经移交给我的网站是在Laravel中创建的。 Voyager admin is used for updating the contents.
Voyager管理员用于更新内容。 I am not yet familiar with Voyager.
我对Voyager尚不熟悉。
I just noticed that upon entry of valid username and password, Voyager admin redirects back to the login page. 我只是注意到,在输入有效的用户名和密码后,旅行者管理员将重定向到登录页面。 I have no idea yet where to go to and what codes to check.
我不知道要去哪里以及要检查什么代码。 Is there any config for Voyager admin for me to update?
Voyager管理员有任何配置可以更新吗?
Many probable causes here. 这里有许多可能的原因。 In my experience, when that happens:
以我的经验,发生这种情况时:
php artisan voyager:admin your@email.com
, replacing that email there with the correct one. php artisan voyager:admin your@email.com
授予他们特权 ,用正确的电子邮件替换该电子邮件。 php artisan voyager:admin your@email.com --create
. php artisan voyager:admin your@email.com --create
创建帐户。 There is a voyager.php file for the configuration options of Voyager. Voyager的配置选项有一个voyager.php文件。
The Voyager config file is present at below location : Voyager配置文件位于以下位置:
Laravel/config/voyager.php
For more info please refer the documentation : 有关更多信息,请参阅文档:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.