Show log message on login
Useful for tracking who is doing what
This commit is contained in:
parent
5998b2c2c9
commit
01175ecb21
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue