赛事登录判断
This commit is contained in:
parent
2a38a5a1aa
commit
fc2cc2f2bb
@ -58,7 +58,7 @@ public class OAuthController : IDynamicApiController
|
|||||||
|
|
||||||
if (!isRegistered)
|
if (!isRegistered)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(appUser.Password))
|
if (appUser == null || string.IsNullOrEmpty(appUser.Password))
|
||||||
{
|
{
|
||||||
throw Oops.Bah("未注册过账户");
|
throw Oops.Bah("未注册过账户");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user