Merge branch 'main' into create-user-system-defaults

This commit is contained in:
Jimmy Praet 2022-04-10 08:43:49 +02:00 committed by GitHub
commit a8dc6ec0f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
150 changed files with 2427 additions and 1094 deletions

View file

@ -1010,7 +1010,7 @@ func handleOAuth2SignIn(ctx *context.Context, source *auth.Source, u *user_model
log.Error("Error storing session: %v", err)
}
// Clear whatever CSRF has right now, force to generate a new one
// Clear whatever CSRF cookie has right now, force to generate a new one
middleware.DeleteCSRFCookie(ctx.Resp)
// Register last login