Browse Source

提交代码

V20220125.patch
ychao_1983 3 years ago
parent
commit
c24e6f28c8
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/user/auth.go

+ 1
- 0
routers/user/auth.go View File

@@ -183,6 +183,7 @@ func SignInPost(ctx *context.Context, form auth.SignInForm) {
ctx.Data["SignInLink"] = setting.AppSubURL + "/user/login"
ctx.Data["PageIsSignIn"] = true
ctx.Data["PageIsLogin"] = true
ctx.Data["IsCourse"] = ctx.QueryBool("course")
ctx.Data["EnableSSPI"] = models.IsSSPIEnabled()

if ctx.HasError() {


Loading…
Cancel
Save