Skip to content

Commit

Permalink
better message for error
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed May 19, 2024
1 parent cac4fd9 commit d32b135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def login_page():
user = auth.login(ip_address=st.query_params.get("ip", [""])[0])
st.write(f"Welcome back {user.first_name}!")
except Exception as error_message:
st.write(error_message)
st.write(error_message if error_message else "Please login to continue.")
login_page()
st.stop()

Expand Down

0 comments on commit d32b135

Please sign in to comment.