]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/logout.php
Remove CSRF protection from username/password login and from OpenID login.
[quix0rs-gnu-social.git] / actions / logout.php
index eda5cefe5bf15eae09c327cfd55b5e09c2c4d1b2..1e0adae57592a536bdaf7b6bbf3eb7ae60959f14 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-if (!defined('STATUSNET')) {
+if (!defined('STATUSNET') && !defined('LACONICA')) {
     exit(1);
 }
 
-require_once INSTALLDIR.'/lib/openid.php';
-
 /**
  * Logout action class.
  *