1
0

Upgrade JS and Go deps versions (#517)

هذا الالتزام موجود في:
Thomas Miceli
2025-10-07 16:59:37 +02:00
ملتزم من قبل GitHub
الأصل f0a596aed0
التزام f653179cbf
81 ملفات معدلة مع 2487 إضافات و6227 حذوفات

عرض الملف

@@ -2,13 +2,14 @@ package webauthn
import (
"encoding/json"
"net/http"
"net/url"
"github.com/go-webauthn/webauthn/protocol"
"github.com/go-webauthn/webauthn/webauthn"
"github.com/rs/zerolog/log"
"github.com/thomiceli/opengist/internal/config"
"github.com/thomiceli/opengist/internal/db"
"net/http"
"net/url"
)
var webAuthn *webauthn.WebAuthn
@@ -101,7 +102,7 @@ func FinishDiscoverableLogin(jsonSession []byte, response *http.Request) (uint,
return 0, err
}
return waUser.(*user).User.ID, nil
return waUser.(*user).ID, nil
}
func BeginLogin(dbUser *db.User) (credCreation *protocol.CredentialAssertion, jsonSession []byte, err error) {