Skip to content
Snippets Groups Projects
Commit 9d6f74c6 authored by Thomas Müller's avatar Thomas Müller
Browse files

missing piece after merge

parent bc43dd70
Branches
No related tags found
No related merge requests found
......@@ -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'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment