From e9fdf1031da4bf3c1acff0377b1d125ad99274e6 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 15 Mar 2014 05:53:13 -0400 Subject: Clean code --- web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web.go') diff --git a/web.go b/web.go index cb6ee4aece..24f01d68a8 100644 --- a/web.go +++ b/web.go @@ -62,7 +62,7 @@ func runWeb(*cli.Context) { m.Use(sessions.Sessions("my_session", store)) // Routers. - m.Get("/", auth.SignInRequire(false), routers.Home) + m.Get("/", auth.SignInRequire(true), routers.Home) m.Any("/user/login", auth.SignOutRequire(), binding.BindIgnErr(auth.LogInForm{}), user.SignIn) m.Any("/user/logout", auth.SignInRequire(true), user.SignOut) m.Any("/user/sign_up", auth.SignOutRequire(), binding.BindIgnErr(auth.RegisterForm{}), user.SignUp) -- cgit v1.2.3