Streamlit-Authenticator icon indicating copy to clipboard operation
Streamlit-Authenticator copied to clipboard

Return user email, Name for new user

Open psyrixen opened this issue 3 years ago • 3 comments

Hi, Is there a way that we can get the email address and the name of the newly registered user without modifying the package code. Currently is returns if a new user has successfully created account or not.

psyrixen avatar Oct 02 '22 18:10 psyrixen

Hi @psyrixen, this is an excellent point. I will try to implement it in a future release. In the meantime, feel free to edit line 347 of authenticate.py to enable this feature. Should be relatively straight forward. Cheers.

mkhorasani avatar Oct 02 '22 18:10 mkhorasani

Hi,

Thanks for the quick answer. Also, can you please also include the option to clear the forms after submission. I know its just a small addition but will improve the behavior of the component vastly. Currently the forms don't clear after the form is submitted.

Much thanks again for this awesome component. Really appreciate it!

Have a good day

psyrixen avatar Oct 02 '22 19:10 psyrixen

@psyrixen sure will do that too. Stay posted!

mkhorasani avatar Oct 03 '22 07:10 mkhorasani

Hi @psyrixen, this feature has been implemented in release v0.3.1. The register_user widget now returns all these values.

mkhorasani avatar Jan 22 '24 09:01 mkhorasani