Compare commits
1 Commits
ed80fe544f
...
212b32c4ab
Author | SHA1 | Date | |
---|---|---|---|
212b32c4ab |
@ -29,12 +29,6 @@ services:
|
|||||||
MYSQL_DATABASE: 'mapguesser'
|
MYSQL_DATABASE: 'mapguesser'
|
||||||
MYSQL_USER: 'mapguesser'
|
MYSQL_USER: 'mapguesser'
|
||||||
MYSQL_PASSWORD: 'mapguesser'
|
MYSQL_PASSWORD: 'mapguesser'
|
||||||
adminer:
|
|
||||||
image: adminer:4.8.1-standalone
|
|
||||||
ports:
|
|
||||||
- 9090:8080
|
|
||||||
environment:
|
|
||||||
- ADMINER_DEFAULT_SERVER=mariadb
|
|
||||||
mail:
|
mail:
|
||||||
image: marcopas/docker-mailslurper:latest
|
image: marcopas/docker-mailslurper:latest
|
||||||
ports:
|
ports:
|
||||||
|
@ -270,7 +270,7 @@ class LoginController
|
|||||||
{
|
{
|
||||||
if ($this->request->user() !== null) {
|
if ($this->request->user() !== null) {
|
||||||
$this->deleteRedirectUrl();
|
$this->deleteRedirectUrl();
|
||||||
return new JsonContent(['redirect' => ['target' => '/' . $this->redirectUrl]]);
|
return new Redirect($this->redirectUrl, IRedirect::TEMPORARY);
|
||||||
}
|
}
|
||||||
|
|
||||||
$user = $this->userRepository->getByEmail($this->request->post('email'));
|
$user = $this->userRepository->getByEmail($this->request->post('email'));
|
||||||
|
Loading…
Reference in New Issue
Block a user