Browse Source

update var name

pull/5399/head
B-OnTheGo 6 years ago committed by GitHub
parent
commit
0698e89f83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/auth/auth.go

2
pkg/auth/auth.go

@ -135,7 +135,7 @@ func SignedInUser(ctx *macaron.Context, sess session.Store) (*models.User, bool)
}
return nil, false
}
c.Data["IsApiToken"] = true
ctx.Data["IsApiToken"] = true
return u, true
}
}

Loading…
Cancel
Save