mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-16 22:15:43 +08:00
as you seen, in cureent status `initUserAuthWebAuthn` will prcheck
`window.isSecureContext`, if not ok, will hide the `passkey` btton and
return directly. I think it's not right, first, not show any error
message looks not a good ui, and it's looks will make an empty container
was show if the registion button was disabled also (maybe f-i-x #36115),
then initUserAuthWebAuthn has `window.isSecureContext` check also which
looks duplcate ref:
|
||
|---|---|---|
| .. | ||
| components | ||
| features | ||
| markup | ||
| modules | ||
| render | ||
| standalone | ||
| utils | ||
| vendor | ||
| webcomponents | ||
| bootstrap.test.ts | ||
| bootstrap.ts | ||
| globals.d.ts | ||
| globals.ts | ||
| htmx.ts | ||
| index-domready.ts | ||
| index.ts | ||
| svg.test.ts | ||
| svg.ts | ||
| types.ts | ||
| utils.test.ts | ||
| utils.ts | ||
| vitest.setup.ts | ||