Remove __CLASS__ from debug logs
This commit is contained in:
@@ -40,7 +40,7 @@ class AuthSubscriber extends BaseSubscriber implements EventSubscriberInterface
|
||||
*/
|
||||
public function afterLogin(AuthSuccessEvent $event)
|
||||
{
|
||||
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
|
||||
$this->logger->debug('Subscriber executed: '.__METHOD__);
|
||||
|
||||
$userAgent = $this->request->getUserAgent();
|
||||
$ipAddress = $this->request->getIpAddress();
|
||||
@@ -71,7 +71,7 @@ class AuthSubscriber extends BaseSubscriber implements EventSubscriberInterface
|
||||
*/
|
||||
public function afterLogout()
|
||||
{
|
||||
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
|
||||
$this->logger->debug('Subscriber executed: '.__METHOD__);
|
||||
$credentials = $this->rememberMeCookie->read();
|
||||
|
||||
if ($credentials !== false) {
|
||||
@@ -92,7 +92,7 @@ class AuthSubscriber extends BaseSubscriber implements EventSubscriberInterface
|
||||
*/
|
||||
public function onLoginFailure(AuthFailureEvent $event)
|
||||
{
|
||||
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
|
||||
$this->logger->debug('Subscriber executed: '.__METHOD__);
|
||||
$username = $event->getUsername();
|
||||
|
||||
if (! empty($username)) {
|
||||
|
||||
Reference in New Issue
Block a user