Skip to content

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

@awxtggg

Description

@awxtggg

您好,我安装了插件并进行了配置,但扫码登录时,代码运行到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;的位置。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions