[UI] Added a log when user logs in
This commit is contained in:
@@ -119,6 +119,8 @@ LmsApplication::handleAuthEvent(void)
|
|||||||
{
|
{
|
||||||
Wt::Auth::User user(_sessionData.getDatabaseHandler().getLogin().user());
|
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
|
// Create a Vertical layout: top is the nav bar, bottom is the contents
|
||||||
Wt::WVBoxLayout *layout = new Wt::WVBoxLayout(this->root());
|
Wt::WVBoxLayout *layout = new Wt::WVBoxLayout(this->root());
|
||||||
// Create a navigation bar with a link to a web page.
|
// Create a navigation bar with a link to a web page.
|
||||||
|
|||||||
Reference in New Issue
Block a user