From 215945f91e5eb8f24dc6ba2e911f89da1e7cbeee Mon Sep 17 00:00:00 2001 From: emeric Date: Tue, 25 Nov 2014 13:52:11 +0100 Subject: [PATCH] [UI] Added a log when user logs in --- src/ui/LmsApplication.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/LmsApplication.cpp b/src/ui/LmsApplication.cpp index 885656b7..415d12c7 100644 --- a/src/ui/LmsApplication.cpp +++ b/src/ui/LmsApplication.cpp @@ -119,6 +119,8 @@ LmsApplication::handleAuthEvent(void) { Wt::Auth::User user(_sessionData.getDatabaseHandler().getLogin().user()); + LMS_LOG(MOD_UI, SEV_NOTICE) << "User '" << user.identity(Wt::Auth::Identity::LoginName) << "' logged in"; + // Create a Vertical layout: top is the nav bar, bottom is the contents Wt::WVBoxLayout *layout = new Wt::WVBoxLayout(this->root()); // Create a navigation bar with a link to a web page.