-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Labels
issue/regressionIndicates a previously functioning feature or behavior that has broken or regressed after a changeIndicates a previously functioning feature or behavior that has broken or regressed after a changetopic/uiChange the appearance of the Gitea UIChange the appearance of the Gitea UItype/bug
Description
Description

How to reproduce
- Start Gitea WITHOUT a Secure contexts, like
http://192.168.85.1:3000/
- No
https
. - No
127.0.0.1
,localhost
,*.localhost
- No
- Visit the sign-in page, and you will see a right warning about WebAuthn:

- And visit any other pages (even the home page), you will see:


Possible causes
It seems introduced by
- After
#31504
, every page will rundetectWebAuthnSupport

- And it emits error
insecure

- But it's not sign-in page, it cannot get
#webauthn-error-msg
, so it shows a strange error.

Gitea Version
main (ad91a59)
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Command line.
Database
None
Zettat123
Metadata
Metadata
Assignees
Labels
issue/regressionIndicates a previously functioning feature or behavior that has broken or regressed after a changeIndicates a previously functioning feature or behavior that has broken or regressed after a changetopic/uiChange the appearance of the Gitea UIChange the appearance of the Gitea UItype/bug