mirror of
https://github.com/nextcloud/server.git
synced 2026-04-01 15:18:09 -04:00
19 lines
385 B
JavaScript
19 lines
385 B
JavaScript
/**
|
|
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
export default {
|
|
|
|
computed: {
|
|
userNameInputLengthIs255() {
|
|
return this.user.length >= 255
|
|
},
|
|
userInputHelperText() {
|
|
if (this.userNameInputLengthIs255) {
|
|
return t('core', 'Email length is at max (255)')
|
|
}
|
|
return undefined
|
|
},
|
|
},
|
|
}
|