MachUpskillingFY17 / JabbR-Core

Modern edition of JabbR chat client using .NET Core
MIT License
7 stars 8 forks source link

Remove connected clients from the user upon logout through the UI button #281

Open jcocchi opened 7 years ago

jcocchi commented 7 years ago

When logging out through the UI button the call to INotificationService.LogOut() is never made causing the connected clients to never be cleaned up in the database and the user's status not being updated to "offline"

Currently the button will submit a form that does a post request to the Account/Logoff function, determine the best way to add the call, either in the account controller or on the js side