forked from GNUsocial/gnu-social
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user