mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-10-12 12:49:07 +02:00
refactor: migrate Webauthn functionality to single webauthn module
This commit is contained in:
@@ -52,7 +52,7 @@ func (m *JwtAuthMiddleware) Verify(c *gin.Context, adminRequired bool) (subject
|
||||
if err != nil {
|
||||
return "", false, "", time.Time{}, &common.NotSignedInError{}
|
||||
}
|
||||
authenticationMethod, err = service.GetAuthenticationMethod(token)
|
||||
authenticationMethod, err = m.jwtService.GetAuthenticationMethod(token)
|
||||
if err != nil {
|
||||
return "", false, "", time.Time{}, &common.NotSignedInError{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user