Autocomplete action must exist on user registration

No need to restrict the autocomplete suggestion system to logged in users.
It only botched the registration process, because the 'autocomplete' action
had not been connected in the routing system.
This commit is contained in:
Mikael Nordfeldth 2013-09-29 15:28:25 +02:00
parent 633191d808
commit 981295f44c
1 changed files with 1 additions and 3 deletions

View File

@ -49,9 +49,7 @@ class AutocompletePlugin extends Plugin
function onRouterInitialized($m)
{
if (common_logged_in()) {
$m->connect('main/autocomplete/suggest', array('action'=>'autocomplete'));
}
$m->connect('main/autocomplete/suggest', array('action'=>'autocomplete'));
}
function onPluginVersion(&$versions)