category = 'user'; if($INPUT->server->str('REMOTE_USER')) { throw new \RuntimeException("no resendpwd when already logged in"); } } }