diff --git a/web/ASC.Web.Client/src/App.js b/web/ASC.Web.Client/src/App.js index 3cc917c89a..747da1011e 100644 --- a/web/ASC.Web.Client/src/App.js +++ b/web/ASC.Web.Client/src/App.js @@ -41,13 +41,14 @@ class App extends React.Component { getModules, setIsLoaded, getIsAuthenticated, + isAuthenticated, } = this.props; getIsAuthenticated(); const requests = []; - if (!getIsAuthenticated) { + if (!isAuthenticated) { requests.push(getPortalSettings()); } else if (!window.location.pathname.includes("confirm/EmailActivation")) { requests.push(getUser());