diff --git a/index.php b/index.php index abb528f951..91b864df81 100644 --- a/index.php +++ b/index.php @@ -30,6 +30,7 @@ $a->init_pagehead(); session_start(); +// header('Link: <' . $a->get_baseurl() . '/amcd>; rel="acct-mgmt";'); if((x($_SESSION,'authenticated')) || (x($_POST,'auth-params')) || ($a->module === 'login')) require("auth.php"); diff --git a/mod/amcd.php b/mod/amcd.php index 01c6b92da5..a2a1327e6d 100644 --- a/mod/amcd.php +++ b/mod/amcd.php @@ -1,10 +1,15 @@ verify($signed_data,$signature); - if(! $verify) + if(! $verify) { + logger('mod-salmon: message did not verify using protocol. Trying statusnet hack.'); $verify = $rsa->verify($stnet_signed_data,$signature); + } if(! $verify) { logger('mod-salmon: Message did not verify. Discarding.');