fix demo
This commit is contained in:
1 parent
4981d6aad4
commit
9a88fab84e
1 file changed
+1
-1
@@ -85,7 +85,7 @@ func (c Auth) Logout() revel.Result {
|
|||||||
|
|
||||||
// 体验一下
|
// 体验一下
|
||||||
func (c Auth) Demo() revel.Result {
|
func (c Auth) Demo() revel.Result {
|
||||||
email := configService.GetGlobalStringConfig("demoPassword")
|
email := configService.GetGlobalStringConfig("demoUsername")
|
||||||
pwd := configService.GetGlobalStringConfig("demoPassword");
|
pwd := configService.GetGlobalStringConfig("demoPassword");
|
||||||
userInfo, err := authService.Login(email, pwd)
|
userInfo, err := authService.Login(email, pwd)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in new issue
Block a user