o
    õÁh  ã                   @   sF   d dl mZ d dlmZ d dlmZ d dlmZ deddfdd	„ZdS )
é    )Úmessages)ÚHttpRequest)Ú'PASSWORD_RESET_VERIFICATION_SESSION_KEY)Úclear_loginÚrequestÚreturnNc                 C   sh   ddl m} ddlm} | jjr |ƒ }| | tjd¡ | 	| ¡ t
| ƒ | j td ¡ | j |d ¡ d S )Nr   )Úget_adapter)ÚINTERNAL_RESET_SESSION_KEYzaccount/messages/logged_out.txt)Úallauth.account.adapterr   Úallauth.account.viewsr	   ÚuserÚis_authenticatedÚadd_messager   ÚSUCCESSÚlogoutr   ÚsessionÚpopr   )r   r   r	   Úadapter© r   ú\/var/www/html/pos/venv/lib/python3.10/site-packages/allauth/account/internal/flows/logout.pyr   
   s   ÿ
r   )	Údjango.contribr   Údjango.httpr   Ú5allauth.account.internal.flows.password_reset_by_coder   Ú!allauth.account.internal.stagekitr   r   r   r   r   r   Ú<module>   s
    