diff --git a/src/replit/maqpy/utils.py b/src/replit/maqpy/utils.py index c296c00..51f5d2b 100644 --- a/src/replit/maqpy/utils.py +++ b/src/replit/maqpy/utils.py @@ -46,6 +46,8 @@ def needs_signin(func: Callable = None, login_html: str = sign_in_snippet) -> Ca else: return login_html + return handler + if func is not None: # called with no options @needs_signin return decorator(func) else: # called with options, eg @needs_signin(loginhtml='...')