fix: Missing extendedUser in signup webhook (#522)

Signed-off-by: Steve0x2a <stevesough@gmail.com>
This commit is contained in:
Steve0x2a
2022-03-01 18:25:48 +08:00
committed by GitHub
parent a5d166c35f
commit d48d515c36
2 changed files with 7 additions and 2 deletions

View File

@ -54,7 +54,7 @@ func getUserByClientIdSecret(ctx *context.Context) string {
}
func RecordMessage(ctx *context.Context) {
if ctx.Request.URL.Path == "/api/login" {
if ctx.Request.URL.Path == "/api/login" || ctx.Request.URL.Path == "/api/signup" {
return
}