Fixed default internal auth_provider
This commit is contained in:
parent
d73e6b0730
commit
31f1f1f3e9
4 changed files with 6 additions and 6 deletions
|
|
@ -180,7 +180,7 @@ class UserController extends Controller
|
|||
$password = $this->getParam('password', null);
|
||||
$isAdmin = (int)$this->getParam('is_admin', 0);
|
||||
|
||||
$this->userService->createUser($name, $email, 'default', json_encode(['type' => 'internal']), $password, $isAdmin);
|
||||
$this->userService->createUser($name, $email, 'internal', json_encode(['type' => 'internal']), $password, $isAdmin);
|
||||
|
||||
$response = new b8\Http\Response\RedirectResponse();
|
||||
$response->setHeader('Location', APP_URL . 'user');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue