diff options
author | zeripath <art27@cantab.net> | 2020-10-28 22:33:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-28 22:33:14 +0000 |
commit | beb6bf4261ace56f9c97c03f709b4fe29746b3d7 (patch) | |
tree | d6c9eb6bf74826bd3662c10da43730e9214e7486 /templates/user | |
parent | b64978d0bc82efd1c99d1200eff8bb592c91142f (diff) | |
download | gitea-beb6bf4261ace56f9c97c03f709b4fe29746b3d7.tar.gz gitea-beb6bf4261ace56f9c97c03f709b4fe29746b3d7.zip |
Remove obsolete change of email on profile page (#13341)
* Remove obsolete change of email on profile page
The change email on the account profile page is out-of-date
and unnecessary.
Changing email should be done using the account page.
Fix #13336
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/settings/profile.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/settings/profile.tmpl b/templates/user/settings/profile.tmpl index 1f34e24585..ea895ecd89 100644 --- a/templates/user/settings/profile.tmpl +++ b/templates/user/settings/profile.tmpl @@ -21,9 +21,9 @@ <label for="full_name">{{.i18n.Tr "settings.full_name"}}</label> <input id="full_name" name="full_name" value="{{.SignedUser.FullName}}"> </div> - <div class="required field {{if .Err_Email}}error{{end}}"> + <div class="field {{if .Err_Email}}error{{end}}"> <label for="email">{{.i18n.Tr "email"}}</label> - <input id="email" name="email" value="{{.SignedUser.Email}}"> + <p>{{.SignedUser.Email}}</p> </div> <div class="inline field"> <div class="ui checkbox" id="keep-email-private"> |