public function commonApplicationAttributes()
    {
        return [
            'modules' => [
                'users' => [
                    'emailConfirmationNeeded' => (bool)$this->emailConfirmationNeeded,
                    'allowLoginInactiveAccounts' => (bool)$this->allowLoginInactiveAccounts,
                    'enableSocialNetworks' => (bool)$this->enableSocialNetworks,
                    'logLastLoginTime' => (bool)$this->logLastLoginTime,
                    'logLastLoginData' => (bool)$this->logLastLoginData,
                    'passwordResetTokenExpire' => (int)$this->passwordResetTokenExpire,
                    'loginDuration' => (int)$this->loginDuration,
                    'generatedPasswordLength' => (int)$this->generatedPasswordLength,
                ]
            ],
        ];
    }