diff --git a/src/replit/maqpy/app.py b/src/replit/maqpy/app.py index a72de74..1e8be3e 100644 --- a/src/replit/maqpy/app.py +++ b/src/replit/maqpy/app.py @@ -39,7 +39,7 @@ class ReplitAuthContext: Returns: bool: whether or not the authentication is activated. """ - return self.name != "" + return bool(self.name) class Request(flask.Request):