admin login
This commit is contained in:
10
app/internal/security.py
Normal file
10
app/internal/security.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from fido2.server import Fido2Server
|
||||
from fido2.webauthn import PublicKeyCredentialRpEntity
|
||||
from app.core.config import settings
|
||||
|
||||
rp = PublicKeyCredentialRpEntity(
|
||||
id="admin.example.com",
|
||||
name="Admin"
|
||||
)
|
||||
|
||||
fido2_server = Fido2Server(rp)
|
||||
Reference in New Issue
Block a user