mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-25 21:44:20 -04:00
Merge branch 'dev' of github.com:gogits/gogs into dev
This commit is contained in:
commit
05a33107c9
@ -95,6 +95,7 @@ func newMacaron() *macaron.Macaron {
|
|||||||
m.Use(csrf.Generate(csrf.Options{
|
m.Use(csrf.Generate(csrf.Options{
|
||||||
Secret: setting.SecretKey,
|
Secret: setting.SecretKey,
|
||||||
SetCookie: true,
|
SetCookie: true,
|
||||||
|
Header: "X-Csrf-Token",
|
||||||
}))
|
}))
|
||||||
m.Use(toolbox.Toolboxer(m, toolbox.Options{
|
m.Use(toolbox.Toolboxer(m, toolbox.Options{
|
||||||
HealthCheckFuncs: []*toolbox.HealthCheckFuncDesc{
|
HealthCheckFuncs: []*toolbox.HealthCheckFuncDesc{
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
app_desc = Ein einfacher, selbst gehostetes Git-Service, geschrieben in Go.
|
app_desc = Ein einfacher, selbst gehosteter Git-Service, geschrieben in Go.
|
||||||
|
|
||||||
home = Home
|
home = Home
|
||||||
dashboard = Dashboard
|
dashboard = Dashboard
|
||||||
|
Loading…
Reference in New Issue
Block a user