Skip to content

Commit 924f5ab

Browse files
committed
OAuth2 user is always local
1 parent b09c73b commit 924f5ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/user/settings/account.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{{.i18n.Tr "settings.password"}}
88
</h4>
99
<div class="ui attached segment">
10-
{{if or (.SignedUser.IsLocal) (.SignedUser.IsOAuth2)}}
10+
{{if (.SignedUser.IsLocal) }}
1111
<form class="ui form" action="{{AppSubUrl}}/user/settings/account" method="post">
1212
{{.CsrfTokenHtml}}
1313
{{if .SignedUser.IsPasswordSet}}

0 commit comments

Comments
 (0)