summaryrefslogtreecommitdiffstats
path: root/apps/settings/src
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-03-25 09:42:00 +0100
committerVincent Petry <vincent@nextcloud.com>2022-03-25 09:42:00 +0100
commit7bcc1830a29b9c69570dae9d294a15b70742d087 (patch)
treed6a4f581cdb7740c2856a42cec037c4125d9d356 /apps/settings/src
parenta7e778b57fb81c8e62d093ece7f0689d34db4c45 (diff)
downloadnextcloud-server-7bcc1830a29b9c69570dae9d294a15b70742d087.tar.gz
nextcloud-server-7bcc1830a29b9c69570dae9d294a15b70742d087.zip
Set max length to app token field to match backend
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/settings/src')
-rw-r--r--apps/settings/src/components/AuthTokenSetupDialogue.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings/src/components/AuthTokenSetupDialogue.vue b/apps/settings/src/components/AuthTokenSetupDialogue.vue
index a65da9552a3..6500f533881 100644
--- a/apps/settings/src/components/AuthTokenSetupDialogue.vue
+++ b/apps/settings/src/components/AuthTokenSetupDialogue.vue
@@ -23,6 +23,7 @@
<div v-if="!adding">
<input v-model="deviceName"
type="text"
+ :maxlength="120"
:disabled="loading"
:placeholder="t('settings', 'App name')"
@keydown.enter="submit">