AdvancedUserInterface::isEnabled()

bool isEnabled()

Checks whether the user is enabled.

Internally, if this method returns false, the authentication system will throw a DisabledException and prevent login.

Return Value

bool true if the user is enabled, false otherwise

See also

DisabledException
doc_Symfony
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.