安全码显示六十秒后自动隐藏
This commit is contained in:
1 parent
0e5d895af3
commit
91d42d23d8
5 files changed
+17
-2
No files matched your search
@@ -70,6 +70,7 @@ test('用户安全信息使用独立弹窗并调用固定管理接口', () => {
|
||||
const recoverySource = read('RecoveryCodeDialog/RecoveryCodeDialog.js')
|
||||
assert.match(recoverySource, /\/api\/v1\/user\/security\/recovery-codes\/generate/)
|
||||
assert.match(recoverySource, /shown_once|codes/)
|
||||
assert.match(recoverySource, /setTimeout\(clearCodes, RECOVERY_CODE_DISPLAY_MS\)/)
|
||||
const externalSource = read('UserExternalEmailDialog/UserExternalEmailDialog.js')
|
||||
assert.match(externalSource, /\/api\/v1\/user\/security\/external-email\/change/)
|
||||
assert.match(externalSource, /\/api\/v1\/user\/security\/external-email\/verify/)
|
||||
|
||||
Reference in new issue
Block a user