summaryrefslogtreecommitdiffstats
path: root/core/src/mixins/auth.js
blob: f5b9365516e6b2da9f221f99e6a59403e7015231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
 * 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
		},
	},
}