forked from GNUsocial/gnu-social
incorrectly moved user xrds to OpenID plugin; fixing
This commit is contained in:
parent
0616ea0205
commit
3997682d26
@ -431,7 +431,7 @@ class Router
|
|||||||
// user stuff
|
// user stuff
|
||||||
|
|
||||||
foreach (array('subscriptions', 'subscribers',
|
foreach (array('subscriptions', 'subscribers',
|
||||||
'nudge', 'all', 'foaf',
|
'nudge', 'all', 'foaf', 'xrds',
|
||||||
'replies', 'inbox', 'outbox', 'microsummary') as $a) {
|
'replies', 'inbox', 'outbox', 'microsummary') as $a) {
|
||||||
$m->connect(':nickname/'.$a,
|
$m->connect(':nickname/'.$a,
|
||||||
array('action' => $a),
|
array('action' => $a),
|
||||||
|
@ -66,9 +66,6 @@ class OpenIDPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
$m->connect('main/openid', array('action' => 'openidlogin'));
|
$m->connect('main/openid', array('action' => 'openidlogin'));
|
||||||
$m->connect('settings/openid', array('action' => 'openidsettings'));
|
$m->connect('settings/openid', array('action' => 'openidsettings'));
|
||||||
$m->connect(':nickname/xrds',
|
|
||||||
array('action' => 'xrds'),
|
|
||||||
array('nickname' => '[a-zA-Z0-9]{1,64}'));
|
|
||||||
$m->connect('xrds', array('action' => 'publicxrds'));
|
$m->connect('xrds', array('action' => 'publicxrds'));
|
||||||
$m->connect('index.php?action=finishopenidlogin', array('action' => 'finishopenidlogin'));
|
$m->connect('index.php?action=finishopenidlogin', array('action' => 'finishopenidlogin'));
|
||||||
$m->connect('index.php?action=finishaddopenid', array('action' => 'finishaddopenid'));
|
$m->connect('index.php?action=finishaddopenid', array('action' => 'finishaddopenid'));
|
||||||
|
Loading…
Reference in New Issue
Block a user