Skip to content

Commit b559c20

Browse files
authored
1 parent 775cd66 commit b559c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/setting/setting.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ func NewContext() {
933933
newMarkup()
934934

935935
sec = Cfg.Section("U2F")
936-
U2F.TrustedFacets, _ = shellquote.Split(sec.Key("TRUSTED_FACETS").MustString(strings.TrimSuffix(AppURL, "/")))
936+
U2F.TrustedFacets, _ = shellquote.Split(sec.Key("TRUSTED_FACETS").MustString(strings.TrimRight(AppURL, "/")))
937937
U2F.AppID = sec.Key("APP_ID").MustString(strings.TrimSuffix(AppURL, "/"))
938938

939939
UI.ReactionsMap = make(map[string]bool)

0 commit comments

Comments
 (0)