Skip to content
Snippets Groups Projects
Commit ef7d125c authored by Jonas Leder's avatar Jonas Leder
Browse files

fix username double check in create new

parent 4726e3c2
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,6 @@ class AdminController extends AbstractController
if (!$user) {
$user = new Users();
$doctrine->getManager()->persist($user);
$user->setUsername($request->request->get('username'));
}
$user->setName($request->request->get('displayName'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment