Commit 7c295393 authored by Mat's avatar Mat

Merge branch 'test_seecurity_bearer', nécessaire finalement ->

le eraseCredentials commenté,
car apparemment c'est ça qui m'a sucré mon password en base,
sans rien dire
parents cbf16252 e9231d5d
...@@ -106,7 +106,7 @@ nelmio_cors: ...@@ -106,7 +106,7 @@ nelmio_cors:
paths: paths:
'^/API/': '^/API/':
allow_origin: ['*'] allow_origin: ['*']
allow_headers: ['X-Custom-Auth'] allow_headers: ['*']
allow_methods: ['POST', 'PUT', 'GET', 'DELETE', 'PATCH'] allow_methods: ['POST', 'PUT', 'GET', 'DELETE', 'PATCH']
max_age: 3600 max_age: 3600
......
...@@ -154,7 +154,7 @@ class User implements UserInterface ...@@ -154,7 +154,7 @@ class User implements UserInterface
*/ */
public function eraseCredentials() public function eraseCredentials()
{ {
$this->password = null; //$this->password = null;
} }
/** /**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment