aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-rw-r--r--modern/src/settings/UserPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/settings/UserPage.js b/modern/src/settings/UserPage.js
index 61fdd412..ba535a46 100644
--- a/modern/src/settings/UserPage.js
+++ b/modern/src/settings/UserPage.js
@@ -111,7 +111,7 @@ const UserPage = () => {
endpoint="users"
item={item}
setItem={setItem}
- defaultItem={{ deviceLimit: -1 }}
+ defaultItem={admin ? { deviceLimit: -1 } : {}}
validate={validate}
onItemSaved={onItemSaved}
menu={<SettingsMenu />}