Merge 7a349b6bd3dfd6836c9ef12cd2eeb48e2adf7fe6 into 41bdab49aa8acca9e88862c3db55cd7a8a84ba6a

This commit is contained in:
Mmx 2025-04-20 02:58:53 +08:00 committed by GitHub
commit af493ad19f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,10 +77,10 @@ func Init(e *gin.Engine) {
api.GET("/auth/sso_get_token", handles.SSOLoginCallback)
// webauthn
api.GET("/authn/webauthn_begin_login", handles.BeginAuthnLogin)
api.POST("/authn/webauthn_finish_login", handles.FinishAuthnLogin)
webauthn.GET("/webauthn_begin_registration", handles.BeginAuthnRegistration)
webauthn.POST("/webauthn_finish_registration", handles.FinishAuthnRegistration)
webauthn.GET("/webauthn_begin_login", handles.BeginAuthnLogin)
webauthn.POST("/webauthn_finish_login", handles.FinishAuthnLogin)
webauthn.POST("/delete_authn", handles.DeleteAuthnLogin)
webauthn.GET("/getcredentials", handles.GetAuthnCredentials)