aboutsummaryrefslogtreecommitdiff
path: root/routers/admin/auths.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/admin/auths.go')
-rw-r--r--routers/admin/auths.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/routers/admin/auths.go b/routers/admin/auths.go
index 1aba22a2..81a61957 100644
--- a/routers/admin/auths.go
+++ b/routers/admin/auths.go
@@ -13,16 +13,15 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/pkg/auth/ldap"
- "github.com/gogits/gogs/pkg/tool"
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/form"
"github.com/gogits/gogs/pkg/setting"
)
const (
- AUTHS tool.TplName = "admin/auth/list"
- AUTH_NEW tool.TplName = "admin/auth/new"
- AUTH_EDIT tool.TplName = "admin/auth/edit"
+ AUTHS = "admin/auth/list"
+ AUTH_NEW = "admin/auth/new"
+ AUTH_EDIT = "admin/auth/edit"
)
func Authentications(ctx *context.Context) {