Closed MrVolts closed 5 months ago
Hi @MrVolts, which version of Streamlit-Authenticator are you using?
I'm actually having the same problem. The Streamlit-Authenticator that I have is 0.3.1 via pip.
Apologies, the example in the readme is not correct, the correct way to use the register_user widget should be as follows:
try:
email_of_registered_user, username_of_registered_user, name_of_registered_user = authenticator.register_user(preauthorization=False)
if email_of_registered_user:
st.success('User registered successfully')
except Exception as e:
st.error(e)
Please let me know if this helps.
I have found that the user is shown to have registered before even pressing the button:![image](https://github.com/mkhorasani/Streamlit-Authenticator/assets/126512666/70cbcd5c-da59-4bd0-89de-9d83cffbedbe)
My code: