标签: php zend-framework2 zfcuser
我有一个活跃且不活跃的用户。如何添加支票以仅授权is_active = 1
is_active = 1
答案 0 :(得分:0)
收听登录事件,并在用户未激活时重定向。 这是如何使用事件的示例:https://github.com/ZF-Commons/ZfcUser/wiki/How-to-perform-a-custom-action-when-a-new-user-account-is-created