Ronio Jerico Roque commited on
Commit
e5d609f
·
1 Parent(s): a510590

fix: remove unnecessary comments in app.py and update config.toml for sidebar navigation

Browse files
Files changed (2) hide show
  1. .streamlit/config.toml +1 -0
  2. app.py +0 -2
.streamlit/config.toml CHANGED
@@ -1,5 +1,6 @@
1
  [client]
2
  showSidebarNavigation = false
 
3
  [runner]
4
  fastReruns = true
5
 
 
1
  [client]
2
  showSidebarNavigation = false
3
+
4
  [runner]
5
  fastReruns = true
6
 
app.py CHANGED
@@ -17,8 +17,6 @@ with placeholder.form("login"):
17
  submit = st.form_submit_button("Login")
18
 
19
  if submit and email == actual_email and password == actual_password:
20
- # If the form is submitted and the email and password are correct,
21
- # clear the form/container and display a success message
22
  st.switch_page("pages/home.py")
23
  st.success("Login successful")
24
  elif submit and email != actual_email and password != actual_password:
 
17
  submit = st.form_submit_button("Login")
18
 
19
  if submit and email == actual_email and password == actual_password:
 
 
20
  st.switch_page("pages/home.py")
21
  st.success("Login successful")
22
  elif submit and email != actual_email and password != actual_password: