修改用户登录提示用户登录错误
This commit is contained in:
parent
ef5a02baea
commit
919e5812f9
|
|
@ -105,7 +105,7 @@ local function authorizatePassword(args)
|
||||||
-- 2.验证用户名和密码,应用程序id和应用程序密钥
|
-- 2.验证用户名和密码,应用程序id和应用程序密钥
|
||||||
local code, res = oauthDao.authenticateUserPasswd(args.username, args.password)
|
local code, res = oauthDao.authenticateUserPasswd(args.username, args.password)
|
||||||
if code ~= 0 or res == nil then
|
if code ~= 0 or res == nil then
|
||||||
resp:response(status.ACCOUNT_NOT_EXIST)
|
resp:response(status.USER_LOGIN_ERROR)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
print("验证用户名和密码: ", args.username)
|
print("验证用户名和密码: ", args.username)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user