diff options
author | Sternik <sternik@gmail.com> | 2015-03-13 17:01:42 +0100 |
---|---|---|
committer | Sternik <sternik@gmail.com> | 2015-03-13 20:17:20 +0100 |
commit | d0e34c57ccbc738bcfa28d35524d43ca47eeeeb4 (patch) | |
tree | f9b08dea7322ef752780a78e6e7ec1a2d7f4a3a8 /templates/admin/user | |
parent | b72e75e522dda88dcbf7b064b8af3c495deb0595 (diff) | |
download | gitea-d0e34c57ccbc738bcfa28d35524d43ca47eeeeb4.tar.gz gitea-d0e34c57ccbc738bcfa28d35524d43ca47eeeeb4.zip |
Fix for deleting user when gogs instalation is on http://hostname/gogs
Diffstat (limited to 'templates/admin/user')
-rw-r--r-- | templates/admin/user/edit.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl index 317349935e..bdc0e3343f 100644 --- a/templates/admin/user/edit.tmpl +++ b/templates/admin/user/edit.tmpl @@ -12,7 +12,7 @@ <div class="panel-header"> <strong>{{.i18n.Tr "admin.users.edit_account"}}</strong> </div> - <form class="form form-align panel-body" id="user-profile-form" action="{{AppSubUrl}}/admin/users/{{.User.Id}}" method="post" data-delete-url="/admin/users/{{.User.Id}}/delete"> + <form class="form form-align panel-body" id="user-profile-form" action="{{AppSubUrl}}/admin/users/{{.User.Id}}" method="post" data-delete-url="{{AppSubUrl}}/admin/users/{{.User.Id}}/delete"> {{.CsrfTokenHtml}} <div class="field"> <label class="req">{{.i18n.Tr "admin.users.auth_source"}}</label> |