__getUserData() returns quota

This commit is contained in:
Uwe Steinmann 2024-11-17 10:27:51 +01:00
parent 7e4b4fd3ea
commit 7da7d2e4a1

View File

@ -169,6 +169,7 @@ class RestapiController { /* {{{ */
'login'=>$u->getLogin(),
'email'=>$u->getEmail(),
'language' => $u->getLanguage(),
'quota' => $u->getQuota(),
'theme' => $u->getTheme(),
'role' => $u->getRole() == SeedDMS_Core_User::role_admin ? 'admin' : ($u->getRole() == SeedDMS_Core_User::role_guest ? 'guest' : 'user'),
'hidden'=>$u->isHidden() ? true : false,