mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 08:48:37 +00:00
@@ -192,6 +192,8 @@ func Contexter() macaron.Handler {
|
||||
ctx.Data["CsrfToken"] = x.GetToken()
|
||||
ctx.Data["CsrfTokenHtml"] = template.HTML(`<input type="hidden" name="_csrf" value="` + x.GetToken() + `">`)
|
||||
|
||||
ctx.Data["ShowRegistrationButton"] = setting.Service.ShowRegistrationButton
|
||||
|
||||
c.Map(ctx)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user