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

[FEATURE]2FA允许使用前一个30秒的验证码 #5940

Closed
shutdown-awa opened this issue Jul 25, 2024 · 5 comments
Closed

[FEATURE]2FA允许使用前一个30秒的验证码 #5940

shutdown-awa opened this issue Jul 25, 2024 · 5 comments

Comments

@shutdown-awa
Copy link

1Panel 版本

v1.10.13-lts

请描述您的需求或者改进建议

有时候输入验证码只剩几秒,输完按完确认又刷新了,然后还要重新看一遍验证码。我这种用Bitwarden自动复制验证码的有时候真的很难顶QAQ。

请描述你建议的实现方案

比如说验证码30秒更新一次,当用户输入上一个30秒的验证码也允许通过。

附加信息

No response

@wanghe-fit2cloud
Copy link
Member

wanghe-fit2cloud commented Jul 25, 2024

感谢反馈,后续版本考虑支持上述需求。

@qtum-cat
Copy link

没记错不用摁确认吧?那这样做不如把2FA关了算了

@wanghe-fit2cloud wanghe-fit2cloud added this to the v1.10.14-lts milestone Aug 8, 2024
@WankkoRee
Copy link
Contributor

没记错不用摁确认吧?那这样做不如把2FA关了算了

但是实际上挺多大网站的 2FA 都是有这个容错机制的(即上一个 OTP 也可用)

@Dacong-wu
Copy link

他们肯定不是简单的允许你使用上一个 OTP,比如你的设备是常用设备,那可以允许你通过,但是如果你是陌生设备,那就拒绝你使用上一个OTP,这只是简单举例,背后的逻辑肯定要复杂的多

@wanghe-fit2cloud
Copy link
Member

v1.10.14-lts 版本已发布。

KaySar12 pushed a commit to KaySar12/1Panel that referenced this issue Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants