add rsd to the list of login actions

Allows rsd.xml to be reached on private sites. Fixes http://status.net/trac/ticket/2309

Conflicts:

	index.php
This commit is contained in:
Brion Vibber 2010-04-28 11:05:31 -07:00
parent 8fd0059bf6
commit f5c82d9d60

View File

@ -185,7 +185,7 @@ function checkMirror($action_obj, $args)
function isLoginAction($action)
{
static $loginActions = array('login', 'recoverpassword', 'api', 'doc', 'register', 'publicxrds', 'otp');
static $loginActions = array('login', 'recoverpassword', 'api', 'doc', 'register', 'publicxrds', 'otp', 'rsd');
$login = null;