We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit daadb790 authored by Evan Prodromou's avatar Evan Prodromou

additional debugging in router

parent 35361656
......@@ -82,6 +82,15 @@ class EmailRegistrationPlugin extends Plugin
return true;
}
function onEndConnectPath($path, $defaults, $rules, $result)
{
static $toblock = array('main/register', 'main/register/:code');
if (in_array($path, $toblock) && $defaults['action'] == 'emailregister') {
common_debug("for email register got " . print_r($result, true));
}
}
function onStartInitializeRouter($m)
{
$m->connect('main/register', array('action' => 'emailregister'));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment