Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1541 +/- ##
=======================================
Coverage 76.84% 76.84%
=======================================
Files 91 91
Lines 14309 14309
=======================================
Hits 10996 10996
Misses 3313 3313
Continue to review full report at Codecov.
|
LeoQuote
requested changes
May 25, 2022
Collaborator
LeoQuote
left a comment
There was a problem hiding this comment.
如果管理员因为忘记了 2fa 被关在外面, 有没有办法临时禁用 2fa ?
Collaborator
Author
从2fa_config表删除对应用户的那条配置即可关闭该用户的2fa验证 |
Collaborator
Author
|
管理员应该比普通用户更依赖2fa,毕竟权限太高了,除非额外增加一种验证方式来重置或关闭,不然系统内部不应该保留一个只需要验证密码的后门来应对无法获取2fa验证码这种情况,那样的话2fa就形同虚设了 |
Collaborator
Author
|
更新了丢失2FA凭证无法登陆的处理方法:https://github.com/hhyo/Archery/wiki/FAQ |
Closed
xxlaila
pushed a commit
to xxlaila/Archery
that referenced
this pull request
Feb 15, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
防止通过/admin/login登录绕过2FA验证