[UI] Added a log when user logs in

This commit is contained in:
emeric
2014-11-25 13:52:11 +01:00
parent b9657a5680
commit 215945f91e
+2
View File
@@ -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.