From 9a88fab84e6aa4b3223ad6427cf26ede6b3178cc Mon Sep 17 00:00:00 2001 From: lealife Date: Thu, 17 Sep 2015 12:30:57 +0800 Subject: [PATCH] fix demo --- app/controllers/AuthController.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/AuthController.go b/app/controllers/AuthController.go index b3dd23c..b86137b 100644 --- a/app/controllers/AuthController.go +++ b/app/controllers/AuthController.go @@ -85,7 +85,7 @@ func (c Auth) Logout() revel.Result { // 体验一下 func (c Auth) Demo() revel.Result { - email := configService.GetGlobalStringConfig("demoPassword") + email := configService.GetGlobalStringConfig("demoUsername") pwd := configService.GetGlobalStringConfig("demoPassword"); userInfo, err := authService.Login(email, pwd) if err != nil {