mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 12:25:16 +00:00
Update logout page
This commit is contained in:
@ -13,12 +13,12 @@ ComunicWeb.pages.logout = {
|
||||
* @param {element} targetElement Where the template will be applied
|
||||
* @returns {Boolean} False if it fails
|
||||
*/
|
||||
openLogoutPage: function(additionnalData, targetElement){
|
||||
openLogoutPage: async function(additionnalData, targetElement){
|
||||
//Enable screen overlay
|
||||
var screenOverlay = ComunicWeb.common.page.showTransparentWaitSplashScreen();
|
||||
|
||||
//Perform logout
|
||||
ComunicWeb.user.userLogin.logoutUser();
|
||||
await UserLogin.logoutUser();
|
||||
|
||||
//Reset notifications number
|
||||
ComunicWeb.common.pageTitle.setNotificationsNumber(0);
|
||||
|
Reference in New Issue
Block a user