aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/auth
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-01-20 18:00:38 +0100
committerGitHub <noreply@github.com>2022-01-20 18:00:38 +0100
commit1d98d205f5825f40110e6628b61a97c91ac7f72d (patch)
tree2326229027b9ba388732a912bff07ce4320aaf7c /routers/web/auth
parent16d378fefc0a569f2a7aed29e6c7f288b3d83f02 (diff)
downloadgitea-1d98d205f5825f40110e6628b61a97c91ac7f72d.tar.gz
gitea-1d98d205f5825f40110e6628b61a97c91ac7f72d.zip
Enable deprecation error for v1.17.0 (#18341)
Co-authored-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'routers/web/auth')
-rw-r--r--routers/web/auth/webauthn.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/web/auth/webauthn.go b/routers/web/auth/webauthn.go
index b9e8de2ac0..77b1bee18a 100644
--- a/routers/web/auth/webauthn.go
+++ b/routers/web/auth/webauthn.go
@@ -67,6 +67,7 @@ func WebAuthnLoginAssertion(ctx *context.Context) {
return
}
+ // FIXME: DEPRECATED appid is deprecated and is planned to be removed in v1.18.0
assertion, sessionData, err := wa.WebAuthn.BeginLogin((*wa.User)(user), webauthn.WithAssertionExtensions(protocol.AuthenticationExtensions{
"appid": setting.U2F.AppID,
}))