add rsd to the list of login actions

Allows rsd.xml to be reached on private sites. Fixes http://status.net/trac/ticket/2309
This commit is contained in:
Craig Andrews 2010-04-27 22:00:26 -04:00
parent 04d7d8fe33
commit 42348bc167

View File

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