(c *context.Context)
| 142 | } |
| 143 | |
| 144 | func EditUser(c *context.Context) { |
| 145 | c.Data["Title"] = c.Tr("admin.users.edit_account") |
| 146 | c.Data["PageIsAdmin"] = true |
| 147 | c.Data["PageIsAdminUsers"] = true |
| 148 | c.Data["EnableLocalPathMigration"] = conf.Repository.EnableLocalPathMigration |
| 149 | |
| 150 | prepareUserInfo(c) |
| 151 | if c.Written() { |
| 152 | return |
| 153 | } |
| 154 | |
| 155 | c.Success(tmplAdminUserEdit) |
| 156 | } |
| 157 | |
| 158 | func EditUserPost(c *context.Context, f form.AdminEditUser) { |
| 159 | c.Data["Title"] = c.Tr("admin.users.edit_account") |
nothing calls this directly
no test coverage detected