diff options
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/users.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/settings/js/users.js b/settings/js/users.js index 8b1e32163df..a70cf18ead3 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -346,12 +346,6 @@ $(document).ready(function () { event.preventDefault(); var username = $('#newusername').val(); var password = $('#newuserpassword').val(); - if ($('#content table tbody tr').filterAttr('data-uid', username).length > 0) { - OC.dialogs.alert( - t('settings', 'The username is already being used'), - t('settings', 'Error creating user')); - return; - } if ($.trim(username) == '') { OC.dialogs.alert( t('settings', 'A valid username must be provided'), |