The-NeXT-Project / NeXT-Panel

Next generation proxy service management system (OSS Edition)
https://nextpanel.dev
GNU General Public License v3.0
167 stars 39 forks source link

[BUG] 点击记住设备没有用, 离开当前网页访问别的网页, 大概1分钟再返回就需要重新登录 #49

Closed phantomveil closed 4 months ago

phantomveil commented 4 months ago

Environment 环境

OS: ubuntu 22.04 HTTPS enabled: yes PHP version: 8.3 DB version: 11.2 Redis version: redis server like in installation document
Commit: latest

Bug Info

Describe the issue you run into. 请描述你遇到的问题。 点击记住设备没有用, 离开当前网页访问别的网页, 大概1分钟再返回就需要重新登录, 我按照ubuntu的安装文档安装的,Safari和edge浏览器都是这样

AutisticShark commented 4 months ago

Check enable_login_bind_ip and enable_login_bind_device settings in the .config.php, if you haven't properly configured the nginx real IP header, you may run into an issue like this.