]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Making one time passwords work on private sites
authorJames Walker <walkah@walkah.net>
Wed, 3 Mar 2010 23:16:56 +0000 (18:16 -0500)
committerJames Walker <walkah@walkah.net>
Wed, 3 Mar 2010 23:17:40 +0000 (18:17 -0500)
index.php

index 06ff9900fd5bff24466be4cbd6ee5ffaeb87ac6e..36ba3a0d2163915fa700ef0373b5ee65fa317c63 100644 (file)
--- a/index.php
+++ b/index.php
@@ -185,7 +185,7 @@ function checkMirror($action_obj, $args)
 
 function isLoginAction($action)
 {
-    static $loginActions =  array('login', 'recoverpassword', 'api', 'doc', 'register', 'publicxrds');
+    static $loginActions =  array('login', 'recoverpassword', 'api', 'doc', 'register', 'publicxrds', 'otp');
 
     $login = null;