mirror of
https://github.com/nextcloud/server.git
synced 2024-09-10 13:26:45 +02:00
missing piece after merge
This commit is contained in:
parent
bc43dd704f
commit
9d6f74c65e
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user