fix fatal error in auth login()
Merge branch 'master' of github.com:MangoFramework/MangoFramework