From 70924d4f13f56e0a7a03be9a440c6a0b0627c7ab Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 25 Jan 2017 14:08:38 +0000 Subject: [PATCH] remove unused variable Former-commit-id: bf29debeaedc1b79ce5b9b2d7b32aa2fa855ba7c --- _embed/templates/base.tmpl | 1 - _embed/templates/minimal.tmpl | 1 - config/config.go | 3 +-- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/_embed/templates/base.tmpl b/_embed/templates/base.tmpl index bdd7d4a0..e4327800 100644 --- a/_embed/templates/base.tmpl +++ b/_embed/templates/base.tmpl @@ -5,7 +5,6 @@ {{.Name}} - diff --git a/_embed/templates/minimal.tmpl b/_embed/templates/minimal.tmpl index 933c258f..66e0068d 100644 --- a/_embed/templates/minimal.tmpl +++ b/_embed/templates/minimal.tmpl @@ -1,2 +1 @@ {{ template "content" . }} -{{ .Config.Token }} diff --git a/config/config.go b/config/config.go index be0d8388..d6124bb1 100644 --- a/config/config.go +++ b/config/config.go @@ -20,8 +20,7 @@ type Config struct { PrefixURL string BaseURL string WebDavURL string - Token string // Anti CSRF token - HugoEnabled bool // Enables the Hugo plugin for File Manager + HugoEnabled bool // Enables the Hugo plugin for File Manager Users map[string]*User BeforeSave CommandFunc AfterSave CommandFunc