mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #52748 from nextcloud/rakekniven-patch-1
chore(i18n): Use username instead of User ID
This commit is contained in:
commit
86d50335dc
1 changed files with 2 additions and 1 deletions
|
|
@ -724,7 +724,8 @@ class Manager extends PublicEmitter implements IUserManager {
|
|||
|
||||
// User ID is too long
|
||||
if (strlen($uid) > IUser::MAX_USERID_LENGTH) {
|
||||
throw new \InvalidArgumentException($l->t('Login is too long'));
|
||||
// TRANSLATORS User ID is too long
|
||||
throw new \InvalidArgumentException($l->t('Username is too long'));
|
||||
}
|
||||
|
||||
if (!$this->verifyUid($uid, $checkDataDirectory)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue