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

Commit 064ed694 authored by Evan Prodromou's avatar Evan Prodromou

Revert "some debugging for email registration routes"

This reverts commit 165d9fd9.
parent b5dfceb5
......@@ -70,13 +70,8 @@ class EmailRegistrationPlugin extends Plugin
static $toblock = array('main/register', 'main/register/:code');
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;
if (in_array($path, $toblock) && $defaults['action'] != 'emailregister') {
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