Visualize.js authentication error after second login
问题 I have a website—utilizing Visualize.js—that has a simple login/logout feature. Everytime I login I call the authenicateUser() function and logout destroySession() . When I try login and then logout and then login again, when I try to render my existing reports I get this thrown error: HTTP Status 401 - Full authentication is required to access this resource The functions authenicateUser() and destroySession() are shown below: function authenticateUser () { var myConfig = { auth : { name :