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.
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
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.