Logout not working

I am unable to logout from ERP Next and getting the following error in console.
uncaught TypeError: frappe.app.logout is not a function at HTMLAnchorElement.onclick (VM850 app:1:19)

Hi @iqbaltld,

Please try it to log out system.

your-site.com/?cmd=web_logout

Thank You!