getAuthInfo(); if(!$authInfo->isLoggedIn()) Template::throwError(401); Tools::redirect($msz->getURLs()->format('settings-account'));