laravel - 意外自动登录 Laravel 7x
问题描述
我不想注册后,我的 Laravel 应用程序会自动登录。我default app/Http/Controllers/Auth/RegisterController.php
在该文件中使用 and 我编写了自己的register()
方法。这个方法里面没有$this->guard()->login($user);
。自动登录只是偶尔发生,但每次发生时,应用程序都会在注册后“加载”很长时间。
解决方案
推荐阅读
- python - 在 Python 中使用多线程 for 循环有意义吗?
- linux - 在字符串中使用主机名
- iis - 访问 IIS 8.5 服务器站点时出现“连接重置”错误
- java - Hibernate:外键的列数错误。应该是 1
- reactjs - 更改文本框后显示保存按钮(react、redux、material ui)
- ruby-on-rails - 验证:映射日期范围时,如何仅在卡片与另一张卡片不匹配时映射范围
- postgresql-11 - 从日期中减去 1 个月的间隔?
- c - 对字符串数组使用 malloc
- python - 每次使用python循环时,我可以保存分配给一个变量的所有值吗?
- java - Eclipse 4 RCP 插件:如何以编程方式将项目导入工作区