fix demo
This commit is contained in:
@ -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