TypeError: Courier.init() got an unexpected keyword argument 'auth_token'
Traceback:
File "C:\Users\chira\AppData\Roaming\Python\Python311\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 600, in _run_script
exec(code, module.dict)
File "E:\coding\nayi.py", line 11, in
LOGGED_IN = __login__obj.build_login_ui()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\chira\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit_login_auth_ui\widgets.py", line 307, in build_login_ui
self.forgot_password()
File "C:\Users\chira\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit_login_auth_ui\widgets.py", line 185, in forgot_password
send_passwd_in_email(self.auth_token, username_forgot_passwd, email_forgot_passwd, self.company_name, random_password)
File "C:\Users\chira\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit_login_auth_ui\utils.py", line 174, in send_passwd_in_email
client = Courier(auth_token=auth_token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I tried putting my authcode/api key in the function but it seems to give the same error
TypeError: Courier.init() got an unexpected keyword argument 'auth_token'
Traceback:
File "C:\Users\chira\AppData\Roaming\Python\Python311\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 600, in _run_script
exec(code, module.dict)
File "E:\coding\nayi.py", line 11, in
LOGGED_IN = __login__obj.build_login_ui()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\chira\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit_login_auth_ui\widgets.py", line 307, in build_login_ui
self.forgot_password()
File "C:\Users\chira\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit_login_auth_ui\widgets.py", line 185, in forgot_password
send_passwd_in_email(self.auth_token, username_forgot_passwd, email_forgot_passwd, self.company_name, random_password)
File "C:\Users\chira\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit_login_auth_ui\utils.py", line 174, in send_passwd_in_email
client = Courier(auth_token=auth_token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I tried putting my authcode/api key in the function but it seems to give the same error