mkhorasani / Streamlit-Authenticator

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

DeprecationError: Likely deprecation error, the 'form_name' parameter has been replaced with the 'fields' parameter. #162

Closed Solab5 closed 1 month ago

Solab5 commented 1 month ago

was following though the github instructions, but the authenticator.login() can't execute coz of a depraction error

Image 13-05-2024 at 12 22

mkhorasani commented 1 month ago

Please follow the instructions as provided in the link. The form name should be provided in the form of a dictionary as shown below:

authenticator.login(fields={'Form name':'Login', 'Username':'Username', 'Password':'Password', 'Login':'Login'})