Casdoor 注册多个账号后 登入的 C,D,E,F账号 实际都是进入 B 账号 #4430
-
📦 部署环境Docker 📌 软件版本预览版v1.22.8 💻 系统环境Other Linux 🌐 浏览器Edge 🐛 问题描述在本地使用 dockercompose 搭建的本地数据库版本 📷 复现步骤注册多个账号,多端登入的都是同一个账号 🚦 期望结果账号正确 📝 补充信息无 |
Beta Was this translation helpful? Give feedback.
Replies: 16 comments 6 replies
-
📦 Deployment environmentDocker 📌 Software versionPreview version v1.22.8 💻 System environmentOther Linux 🌐 BrowserEdge 🐛 Problem descriptionA local database version built locally using dockercompose 📷 Steps to reproduceRegister multiple accounts and log in from multiple terminals with the same account 🚦 Expected resultsAccount is correct 📝 Supplementary informationNo |
Beta Was this translation helpful? Give feedback.
-
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
Hello @WadeChenn! I'm here to help you with any bugs or questions you have. I can assist with solving issues, answering queries, and guiding you to become a contributor. Let me know how I can assist you with the bug you've encountered. It seems like there is a bug in the lobe-chat application where logging into multiple accounts results in accessing the same account (the third account) instead of the intended one. This issue occurs when using a local database setup with Docker, and it affects accounts beyond the third one, while the admin account works correctly. To address this issue, you might want to check the session management and authentication logic in your setup. Ensure that session tokens are being correctly assigned and validated for each user. Additionally, verify that the database is correctly storing and retrieving user session data. If the problem persists, consider reviewing the session and authentication configurations, especially if you're using |
Beta Was this translation helpful? Give feedback.
-
如果我将第三个账号在 casdoor中删除..问题依旧..要在 lobe 的user 数据库中删除对应的账号信息才正常 |
Beta Was this translation helpful? Give feedback.
-
If I delete the third account in casdoor, the problem remains. I have to delete the corresponding account information in the user database of lobe to make it normal. |
Beta Was this translation helpful? Give feedback.
-
补充: 从注册的第四个账号之后的账号 不会再 lobe 的 user 表单中出现 表单中始终只有三个 user |
Beta Was this translation helpful? Give feedback.
-
Supplement: Accounts starting from the fourth registered account will no longer appear in the user form of lobe. There are always only three users in the form. |
Beta Was this translation helpful? Give feedback.
-
@cy948 来看看? |
Beta Was this translation helpful? Give feedback.
-
@cy948 Come and take a look? |
Beta Was this translation helpful? Give feedback.
-
@WadeChenn 是的,我也遇到这个问题。跟casdoor应用设置中的邮箱信息有关。 |
Beta Was this translation helpful? Give feedback.
-
@WadeChenn Yes, I have this problem too. It is related to the email information in the casdoor application settings. |
Beta Was this translation helpful? Give feedback.
-
感谢! 能有应急方案就是救命的...我确实没有定位到邮箱这一层面.一直在尝试修改表里面的 id 和名称 |
Beta Was this translation helpful? Give feedback.
-
Thank you! It would be life-saving to have an emergency plan...I really haven't targeted the mailbox level. I have been trying to modify the id and name in the table. |
Beta Was this translation helpful? Give feedback.
-
目前有两层账号根据邮箱自动链接:
|
Beta Was this translation helpful? Give feedback.
-
There are currently two levels of accounts automatically linked based on email addresses:
|
Beta Was this translation helpful? Give feedback.
-
这个配置只是用来给一键部署脚本做casdoor初始化,给用户在本地体验的,所以没有提供太多设置。另外,casdoor官方没有提供这个json的字段的解释,你需要自行寻找具体的配置。最后,如果你已经部署了应用,推荐你在web面板上修改。
|
Beta Was this translation helpful? Give feedback.
@WadeChenn 是的,我也遇到这个问题。跟casdoor应用设置中的邮箱信息有关。
猜测或许是同邮箱的账户合并了?
应急解决办法:casdoor -> 身份认证 -> 应用,开启“电子邮箱”注册项就正常了。