diff --git a/hbd/server/http.py b/hbd/server/http.py index 3d88bee..b534ee7 100644 --- a/hbd/server/http.py +++ b/hbd/server/http.py @@ -627,10 +627,12 @@ async def start( gitea_button = "" if oauth_mod.is_enabled(config): + logo_url = config.get("oauth", {}).get("gitea", {}).get("logo", "") + logo_img = f'' if logo_url else "" gitea_button = f"""
or
- Sign in with Gitea + {logo_img}Sign in with Gitea """ html = f""" @@ -639,7 +641,7 @@ async def start( Heartbeat — Login