mkhorasani / Streamlit-Authenticator

A secure authentication module to validate user credentials in a Streamlit application.
Apache License 2.0
1.38k stars 229 forks source link

How to transfer new password to user? #82

Closed LiminLN closed 10 months ago

LiminLN commented 10 months ago

I tried the code Creating a forgot password widget which is like: try: username_forgot_pw, email_forgot_password, random_password = authenticator.forgot_password('Forgot password') if username_forgot_pw: st.success('New password sent securely')

Random password to be transferred to user securely

else:
    st.error('Username not found')

except Exception as e: st.error(e)

But i don't know how to transfer the new random password of the user to them securely.

LiminLN commented 10 months ago

I found it in the closed issues.