Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对admin账户禁用的一些建议 #229

Open
HoneyWhiteCloud opened this issue Nov 30, 2024 · 2 comments
Open

对admin账户禁用的一些建议 #229

HoneyWhiteCloud opened this issue Nov 30, 2024 · 2 comments

Comments

@HoneyWhiteCloud
Copy link

问题描述:
如以admin身份登陆后禁用掉admin账户后,即便输入了正确的admin账户密码也无法登陆面板(提示用户名密码错误,易造成误解)。则必须通过修改数据库文件解除对admin账户的禁用,十分不便。

功能请求:
1、不要求完全禁止对admin账户的禁用,但希望能够通过一些更简易的方式来控制admin账户的启用与否(如在config.json中指定一值来修改admin账户的启动情况)
2、禁用的账户在登陆时提示账户被禁用而非账户名称或密码错误

@Jinnrry
Copy link
Owner

Jinnrry commented Dec 2, 2024

你是不希望启用admin账户?但是禁用后某天有需要使用了?是这么个需求吗?

@HoneyWhiteCloud
Copy link
Author

你是不希望启用admin账户?但是禁用后某天有需要使用了?是这么个需求吗?

是的,因为原先的逻辑不方便用户重新启用admin账户,且不一定知道可通过修改数据库来实现对admin账户的解禁,可能造成不必要的损失

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants