U
    >i[                     @   s"   d dl mZmZ e dd ZdS )    )Criticalregisterc                 K   s   ddl m} ddlm} ddlm} g }|jr|jj|jkrL|	t
dd |jsb|	t
dd |jdi d}|s|	t
d	d |j|jjkr|	t
d
d |S )Nr   )app_settings)AuthenticatorzMMFA_PASSKEY_SIGNUP_ENABLED requires MFA_SUPPORTED_TYPES to include 'webauthn')msgzNMFA_PASSKEY_SIGNUP_ENABLED requires ACCOUNT_EMAIL_VERIFICATION_BY_CODE_ENABLEDemailrequiredzMMFA_PASSKEY_SIGNUP_ENABLED requires ACCOUNT_SIGNUP_FIELDS to contain 'email*'zLMFA_PASSKEY_SIGNUP_ENABLED requires ACCOUNT_EMAIL_VERIFICATION = 'mandatory')Zallauth.accountr   Zallauth.mfaZallauth.mfa.modelsr   ZPASSKEY_SIGNUP_ENABLEDTypeZWEBAUTHNSUPPORTED_TYPESappendr   Z"EMAIL_VERIFICATION_BY_CODE_ENABLEDZSIGNUP_FIELDSgetZEMAIL_VERIFICATIONZEmailVerificationMethodZ	MANDATORY)Zapp_configskwargsZaccount_settingsr   r   retZemail_required r   6/tmp/pip-unpacked-wheel-upujnpc2/allauth/mfa/checks.pysettings_check   sD    r   N)Zdjango.core.checksr   r   r   r   r   r   r   <module>   s   