-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Prevent showing webauthn error for every time visiting /user/settings/security
#18385
Conversation
Maybe we should be hiding the register button if detect-webauthn is not detected. |
It would be a bigger change, we should find some where to show the error message. Otherwise the users wouldn't know what happened and they would come to ask why I can not use webauthn ..... This PR just works and it seems fine to show the Security Key UI to tell users here we have a nice feature. And I am open, if there is a better PR, feel free to use it to replace this one. |
This comment has been minimized.
This comment has been minimized.
* giteaoffical/main: Place inline diff comment dialogs on split diff in 4th and 8th columns (go-gitea#18403) API: Return primary language and repository language stats API URL (go-gitea#18396) Update to work with latest VS Code go debugger (go-gitea#18397) Fix restore without topic failure (go-gitea#18387) [skip ci] Updated translations via Crowdin Make WrappedQueues and PersistableChannelUniqueQueues Pausable (go-gitea#18393) Fix commit's time (go-gitea#18375) Prevent showing webauthn error for every time visiting `/user/settings/security` (go-gitea#18385)
It's quite annoying that the webauthn error is popped up every time when visiting
/user/settings/security
.After this fix, the error is only shown after the user clicks the register (add security key) button.