]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Authentication.php
Add search types
[friendica.git] / src / Core / Authentication.php
index bf7a9eb76f5e353582710551da88d52ac836e107..646729c434014ac37794cdedf1ecc3d36c3e9f63 100644 (file)
@@ -71,7 +71,7 @@ class Authentication extends BaseObject
                }
 
                // Check current path, if 2fa authentication module return
-               if ($a->argc > 0 && in_array($a->argv[0], ['ping', '2fa', 'view', 'help', 'logout'])) {
+               if ($a->argc > 0 && in_array($a->argv[0], ['ping', '2fa', 'view', 'help', 'api', 'proxy', 'logout'])) {
                        return;
                }