mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-19 23:06:30 +00:00
Add send register confirm mail
This commit is contained in:
1 parent
fbbae2b721
commit
de087c7b4a
10 files changed
+204
-28
No files matched your search
@@ -50,10 +50,10 @@ func SettingPost(ctx *middleware.Context) {
|
||||
|
||||
if err := models.DeleteRepository(ctx.User.Id, ctx.Repo.Repository.Id, ctx.User.LowerName); err != nil {
|
||||
ctx.Handle(200, "repo.Delete", err)
|
||||
log.Trace("%s Repository deleted: %s/%s", ctx.Req.RequestURI, ctx.User.LowerName, ctx.Repo.Repository.LowerName)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
log.Trace("%s Repository deleted: %s/%s", ctx.Req.RequestURI, ctx.User.LowerName, ctx.Repo.Repository.LowerName)
|
||||
ctx.Render.Redirect("/", 302)
|
||||
}
|
||||
Reference in new issue
Block a user