
    f                     L    d dl mZmZmZ  e       d        Z e       d        Zy)    )CriticalWarningregisterc                 r    ddl m} g } |       }t        |d      r|j                  t	        d             |S )Nr   )get_adapter#get_email_confirmation_redirect_urlzadapter.get_email_confirmation_redirect_url(request) is deprecated, use adapter.get_email_verification_redirect_url(email_address)msg)allauth.account.adapterr   hasattrappendr   )app_configskwargsr   retadapters        Q/var/www/cs2snipe.com/venv/lib/python3.12/site-packages/allauth/account/checks.pyadapter_checkr      s=    3
CmGw=>

 Y	

 J    c                    ddl m} ddlm} g }|j                  r|j                  r|j                  t        d             |j                  r|j                  t        d             |j                  |j                  j                  k7  r|j                  t        d             |j                  r>|j                  |j                  j                  k7  r|j                  t        d             |S )Nr   )app_settingszCSOCIALACCOUNT_ONLY does not work with ACCOUNT_LOGIN_BY_CODE_ENABLEDr	   z3SOCIALACCOUNT_ONLY does not work with 'allauth.mfa'z?SOCIALACCOUNT_ONLY requires ACCOUNT_EMAIL_VERIFICATION = 'none'zSACCOUNT_EMAIL_VERFICATION_BY_CODE requires ACCOUNT_EMAIL_VERIFICATION = 'mandatory')allauthr   allauth.accountSOCIALACCOUNT_ONLYLOGIN_BY_CODE_ENABLEDr   r   MFA_ENABLEDEMAIL_VERIFICATIONEmailVerificationMethodNONE"EMAIL_VERIFICATION_BY_CODE_ENABLED	MANDATORY)r   r   allauth_app_settingsr   r   s        r   settings_checkr"      s    <,
C..--JJ]
  ++JJRS **l.R.R.W.WWJJY 	77++//99: 	

i	

 Jr   N)django.core.checksr   r   r   r   r"    r   r   <module>r%      s7    : : 
  
   r   