Commit 7356cedb authored by Mat's avatar Mat

Merge branch 'test_seecurity_bearer', nécessaire finalement

parents cbf16252 e9231d5d
......@@ -106,7 +106,7 @@ nelmio_cors:
paths:
'^/API/':
allow_origin: ['*']
allow_headers: ['X-Custom-Auth']
allow_headers: ['*']
allow_methods: ['POST', 'PUT', 'GET', 'DELETE', 'PATCH']
max_age: 3600
......
......@@ -154,7 +154,7 @@ class User implements UserInterface
*/
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