Browse Source

提交代码,解决用户增长趋势问题

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/3538/head
zouap 2 years ago
parent
commit
9def35594b
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      routers/user/auth.go

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

@@ -276,7 +276,6 @@ func SignInPostAPI(ctx *context.Context) {

func SignInPostCommon(ctx *context.Context, form auth.SignInForm) {
ctx.Data["Title"] = ctx.Tr("sign_in")
log.Info("here111")
orderedOAuth2Names, oauth2Providers, err := models.GetActiveOAuth2Providers()
if err != nil {
ctx.ServerError("UserSignIn", err)
@@ -291,7 +290,6 @@ func SignInPostCommon(ctx *context.Context, form auth.SignInForm) {
ctx.Data["IsCourse"] = ctx.QueryBool("course")
ctx.Data["EnableSSPI"] = models.IsSSPIEnabled()
ctx.Data["EnableCloudBrain"] = true
log.Info("here222")
if ctx.HasError() {
ctx.HTML(200, tplSignIn)
return


Loading…
Cancel
Save