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