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

Commit 165d9fd9 authored by Evan Prodromou's avatar Evan Prodromou

some debugging for email registration routes

parent 7cc4c97a
......@@ -70,8 +70,13 @@ class EmailRegistrationPlugin extends Plugin
{
static $toblock = array('main/register', 'main/register/:code');
if (in_array($path, $toblock) && $defaults['action'] != 'emailregister') {
return false;
if (in_array($path, $toblock)) {
common_debug("Request came in for $path");
if ($defaults['action'] != 'emailregister') {
common_debug("Action is {$default['action']}, so: rejected.");
$result = false;
return false;
}
}
return true;
......
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