From 01175ecb21ff44eaf2d2f9e3eefbefe1d17dd223 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Tue, 17 May 2016 16:35:56 -0600 Subject: [PATCH] Show log message on login Useful for tracking who is doing what --- vanth/api/session.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vanth/api/session.py b/vanth/api/session.py index a54bb18..94f3174 100644 --- a/vanth/api/session.py +++ b/vanth/api/session.py @@ -27,6 +27,7 @@ class Session(sepiida.endpoints.APIEndpoint): user = vanth.platform.user.by_credentials(payload['username'], payload['password']) if not user: raise vanth.errors.InvalidCredentials() + LOGGER.debug("Logged in %s %s", user['username'], user['uri']) vanth.auth.set_session(user) @staticmethod