diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/user/settings/password.tmpl | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/templates/.VERSION b/templates/.VERSION index b91cc6bc2d..9f1d7a82b6 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.7.40.1210 Beta
\ No newline at end of file +0.7.41.1210 Beta
\ No newline at end of file diff --git a/templates/user/settings/password.tmpl b/templates/user/settings/password.tmpl index e29e807e96..644f4f9316 100644 --- a/templates/user/settings/password.tmpl +++ b/templates/user/settings/password.tmpl @@ -9,6 +9,7 @@ {{.i18n.Tr "settings.change_password"}} </h4> <div class="ui attached segment"> + {{if .SignedUser.IsLocal}} <form class="ui form" action="{{.Link}}" method="post"> {{.CsrfTokenHtml}} <div class="required field {{if .Err_OldPassword}}error{{end}}"> @@ -28,6 +29,11 @@ <button class="ui green button">{{$.i18n.Tr "settings.change_password"}}</button> </div> </form> + {{else}} + <div class="ui info message"> + <p class="text left">{{$.i18n.Tr "settings.password_change_disabled"}}</p> + </div> + {{end}} </div> </div> </div> |