mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-09-27 09:47:05 +08:00
@ -243,7 +243,7 @@ func SignInPost(ctx *context.Context) {
|
||||
}
|
||||
|
||||
// Check if the user has webauthn registration
|
||||
hasWebAuthnTwofa, err := auth.HasWebAuthnRegistrationsByUID(u.ID)
|
||||
hasWebAuthnTwofa, err := auth.HasWebAuthnRegistrationsByUID(ctx, u.ID)
|
||||
if err != nil {
|
||||
ctx.ServerError("UserSignIn", err)
|
||||
return
|
||||
|
Reference in New Issue
Block a user