From 16203cc02fda692247488228d4e2ac8d67138e83 Mon Sep 17 00:00:00 2001 From: ProHaller <88140523+ProHaller@users.noreply.github.com> Date: Sat, 20 Jan 2024 10:00:04 +0900 Subject: [PATCH 1/2] apologies --- logins.py | 4 ++++ streamlit_app.py | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/logins.py b/logins.py index 1c0ed6a..2bddd0c 100644 --- a/logins.py +++ b/logins.py @@ -35,6 +35,10 @@ def initiate(): def login(): + st.image("static/sorry.png", width=300) + st.warning( + "I apologize for the login troubles, You can reset your password with the fogot password function." + ) st.session_state["authenticator"].login("Login", "main") # Handling different authentication states if st.session_state["authentication_status"] is False: diff --git a/streamlit_app.py b/streamlit_app.py index a6c99fe..852562a 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -750,10 +750,6 @@ def send_email(sender, subject, body_text): def main(): databases.load_users() - st.image("static/sorry.png", width=300) - st.warning( - "I apologize for the login troubles, You can reset your password with the fogot password function." - ) if not st.session_state["openai_key"] and not check_credentials(): st.stop() From e377b6c8c661f4abc0dae05e2a7dae400cbe2434 Mon Sep 17 00:00:00 2001 From: ProHaller <88140523+ProHaller@users.noreply.github.com> Date: Sat, 20 Jan 2024 10:04:04 +0900 Subject: [PATCH 2/2] git ingnore config --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 8230127..555b837 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ smtp-test.py __pycache__ generate_keys.py users.csv +config.yaml +config_bak.yaml