o
    ëË·e”  ã                   @   s*   d dl mZ d dlmZ G dd„ dƒZdS )é    )Úrender)Úapp_settingsc                   @   s   e Zd Zdd„ Zdd„ ZdS )ÚOAuthLoginMixinc                 O   sL   | j  ¡ }tjs|jdkrt|d||j d¡dœƒS | j|g|¢R i |¤ŽS )NÚGETzsocialaccount/login.htmlÚprocess)Úproviderr   )	ÚadapterÚget_providerr   ÚLOGIN_ON_GETÚmethodr   r   ÚgetÚlogin)ÚselfÚrequestÚargsÚkwargsr   © r   úb/var/www/ideatree/venv/lib/python3.10/site-packages/allauth/socialaccount/providers/base/mixins.pyÚdispatch   s   

þýzOAuthLoginMixin.dispatchc                 O   s   t ‚)N)ÚNotImplementedError)r   r   r   r   r   r   r   r      s   zOAuthLoginMixin.loginN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r      s    r   N)Údjango.shortcutsr   Úallauth.socialaccountr   r   r   r   r   r   Ú<module>   s    