-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with auth token in Forgot password #29
Comments
def send_passwd_in_email(auth_token: str, username_forgot_passwd: str, email_forgot_passwd: str, company_name: str, random_password: str) -> None:
|
Did you find a fix for this? |
not yet |
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
The text was updated successfully, but these errors were encountered: