canDo('addUser')) throw new ActionDisabledException(); } /** @inheritdoc */ public function preProcess() { if(register()) { // FIXME could be moved from auth to here throw new ActionAbort('login'); } } /** @inheritdoc */ public function tplContent() { html_register(); } }