IAMTFRMZA commited on
Commit
cad0524
·
verified ·
1 Parent(s): 6dad2a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -23,8 +23,7 @@ if not st.session_state.authenticated:
23
  if st.button("Login"):
24
  if username == "[email protected]" and password == "Pass.123":
25
  st.session_state.authenticated = True
26
- st.success("Login successful!")
27
- st.experimental_rerun()
28
  else:
29
  st.error("Invalid username or password.")
30
 
 
23
  if st.button("Login"):
24
  if username == "[email protected]" and password == "Pass.123":
25
  st.session_state.authenticated = True
26
+ st.success("Login successful! Please refresh the page or continue below.")
 
27
  else:
28
  st.error("Invalid username or password.")
29