Skip to content

Commit

Permalink
auth
Browse files Browse the repository at this point in the history
  • Loading branch information
kellerza committed Aug 6, 2024
1 parent e8cfdd2 commit 42189d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiohttp_msal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async def __session(request: web.Request) -> typing.Callable:
return _session


def auth_ok(ses: AsyncMSAL) -> bool:
def authenticated(ses: AsyncMSAL) -> bool:
"""Test if session was authenticated."""
return bool(ses.mail)

Expand Down

0 comments on commit 42189d6

Please sign in to comment.