aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/user
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-06-27 04:20:58 +0200
committerGitHub <noreply@github.com>2022-06-26 21:20:58 -0500
commit004859581148bf8f404599e143932236cb8122a5 (patch)
treeb541ef049bace3e97fd963ac51b335e85a541483 /routers/web/user
parent5d3f99c7c6d0f2c304dc13c6fa6aa675daf310cc (diff)
downloadgitea-004859581148bf8f404599e143932236cb8122a5.tar.gz
gitea-004859581148bf8f404599e143932236cb8122a5.zip
Remove U2F support (#20141)
- Completely remove U2F support from 1.18.0, 1.17.0 will be the last release that U2F is somewhat supported. Users who used U2F would already be warned about using U2F for a while now and should hopefully already be migrated. But starting 1.18 definitely remove it.
Diffstat (limited to 'routers/web/user')
-rw-r--r--routers/web/user/setting/security/security.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/web/user/setting/security/security.go b/routers/web/user/setting/security/security.go
index 747bf64a17..218cf57ab7 100644
--- a/routers/web/user/setting/security/security.go
+++ b/routers/web/user/setting/security/security.go
@@ -26,7 +26,6 @@ const (
func Security(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("settings")
ctx.Data["PageIsSettingsSecurity"] = true
- ctx.Data["RequireU2F"] = true
if ctx.FormString("openid.return_to") != "" {
settingsOpenIDVerify(ctx)