Fix reference to wrong table name in the entity; handle non-existing event more gracefully by logging a critical error
parent
a27885d160
commit
323c4e2b04
@ -1,8 +1,14 @@ |
|||||||
<?php |
<?php |
||||||
namespace vierbergenlars\AuthserverExpireEmailValidationBundle; |
namespace vierbergenlars\AuthserverExpireEmailValidationBundle; |
||||||
|
|
||||||
|
use App\AppEvents; |
||||||
use Symfony\Component\HttpKernel\Bundle\Bundle; |
use Symfony\Component\HttpKernel\Bundle\Bundle; |
||||||
|
|
||||||
class AuthserverExpireEmailValidationBundle extends Bundle |
class AuthserverExpireEmailValidationBundle extends Bundle |
||||||
{ |
{ |
||||||
|
|
||||||
|
public static function hasUserCheckEvent() |
||||||
|
{ |
||||||
|
return defined(AppEvents::class . '::SECURITY_USER_CHECK_POST'); |
||||||
|
} |
||||||
} |
} |
Reference in new issue