HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/buyercall/buyercall/lib/__pycache__/util_two_factor_auth.cpython-310.pyc
o

�we��@s.ddlmZmZddlZddd�Zdd�ZdS)�)�session�current_appNcCsVd}tjd}|r|}|r|}t�}ddlm}|d|}|�|||�|td<|S)N�	BuyerCall�BANDWIDTH_CALLER_IDr)�app_send_smsz verification code: �verification_code)�app�config�
generate_code�%buyercall.blueprints.sms.bw_sms_tasksr�delayr)�	to_number�p_name�p_number�partner�	bw_numberrr�verification_msg_body�r�D/home/arjun/projects/buyercall/buyercall/lib/util_two_factor_auth.py�send_verification_codes
rcCstt�dd��S)Ni��i?B)�str�random�	randrangerrrrr
sr
)NN)�flaskrrrrrr
rrrr�<module>s