Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

插件安装后扫码登录无法跳转,禁止用户注册后,新用户扫码报错 #4

Open
awxtggg opened this issue Nov 17, 2022 · 0 comments

Comments

@awxtggg
Copy link

awxtggg commented Nov 17, 2022

您好,我安装了插件并进行了配置,但扫码登录时,代码运行到AuthController.GetRedirect.cs的return new GetRedirectResult后,页面上显示着RedirectUrl和Token后,就没了,我也不知道应该怎么调试才能让cms知道我已经登录成功。

return new GetRedirectResult
 {
     RedirectUrl = request.RedirectUrl,
    Token = token
 };

另外,当我关闭cms的用户设置中“允许新用户注册”后,如果是一个新用户扫码,就会报错“object reference not set to an instance of an object”,报错位置是44行userName = newUser.UserName;的位置。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant