mirror of https://github.com/jumpserver/jumpserver
10 lines
191 B
Python
10 lines
191 B
Python
|
from django.conf import settings
|
||
|
|
||
|
from ..base import JMSModelBackend
|
||
|
|
||
|
|
||
|
class PasskeyAuthBackend(JMSModelBackend):
|
||
|
@staticmethod
|
||
|
def is_enabled():
|
||
|
return settings.AUTH_PASSKEY
|