...
 
Commits (2)
......@@ -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;
}
/**
......