fix
This commit is contained in:
parent
a2e9b1c65f
commit
5719e3ec1a
3
main.py
3
main.py
@ -2,7 +2,7 @@ import streamlit as st
|
|||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
|
|
||||||
from app.auth.service import AuthService, clear_session
|
from app.auth.service import AuthService, clear_session
|
||||||
from app.ui import render_env_check, render_profile
|
from app.ui import render_profile
|
||||||
|
|
||||||
|
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
@ -10,7 +10,6 @@ def main() -> None:
|
|||||||
|
|
||||||
st.set_page_config(page_title="SFM Streamlit", page_icon=":lock:", layout="wide")
|
st.set_page_config(page_title="SFM Streamlit", page_icon=":lock:", layout="wide")
|
||||||
st.title("SFM Streamlit: Keycloak-only auth")
|
st.title("SFM Streamlit: Keycloak-only auth")
|
||||||
render_env_check()
|
|
||||||
|
|
||||||
if not AuthService().run():
|
if not AuthService().run():
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user