apache / apache/cloudstack

2FA: don't redirect back to login screen after entering incorrect 2FA code

未關閉
#9,508 2 則留言 0 個 reaction 已指派 2 人 已被 @vladimirpetrov 認領 在 GitHub 檢視
type:enhancement type:improvement
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
6 天 19 小時
30 天內合併 PR
32

描述

##### ISSUE TYPE

* Improvement Request

##### COMPONENT NAME

~~~
UI
~~~

##### CLOUDSTACK VERSION

~~~
4.18
~~~

##### CONFIGURATION

##### OS / ENVIRONMENT

N/A

##### SUMMARY

After entry of an invalid 2FA code, the user gets redirected back to the login screen, instead of offering the user the possibility of entering a 2FA code again. There should be no need to go back to the login screen if the user already made it to the 2FA screen.

##### STEPS TO REPRODUCE

* enter invalid 2FA code in the 2FA entry screen after logging in
* get returned back to login screen

##### EXPECTED RESULTS

Go back to 2FA entry screen and let the user try again, or submit the 2fa code using AJAX and give instant feedback on the 2FA screen about the invalid code and stay on the 2FA code entry page.

##### ACTUAL RESULTS

* enter invalid 2FA code in the 2FA entry screen after logging in
* get returned back to login screen

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。