{
return array(
'ax' => $this->make_hook('nl', AUTH_COOKIE, 'user'),
- 'ax/out' => $this->make_hook('out', AUTH_PUBLIC),
+ 'ax/out' => $this->make_hook('out', AUTH_COOKIE, 'user'),
'ax/show' => $this->make_hook('nl_show', AUTH_COOKIE, 'user'),
'ax/search' => $this->make_hook('nl_search', AUTH_COOKIE, 'user'),
'ax/admin' => $this->make_hook('admin_nl', AUTH_PASSWD, 'user'),
function handler_out($page, $hash = null, $issue_id = null)
{
+ $hash = ($hash == 'nohash') ? null : $hash;
if (!$hash) {
if (!S::logged()) {
return PL_DO_AUTH;
'comletter' => $this->make_hook('nl', AUTH_COOKIE, 'user'),
'comletter/submit' => $this->make_hook('coml_submit', AUTH_PASSWD, 'user'),
'comletter/remaining' => $this->make_hook('coml_remaining', AUTH_PASSWD, 'user'),
- 'comletter/out' => $this->make_hook('out', AUTH_PUBLIC),
+ 'comletter/out' => $this->make_hook('out', AUTH_COOKIE, 'user'),
'comletter/show' => $this->make_hook('nl_show', AUTH_COOKIE, 'user'),
'comletter/search' => $this->make_hook('nl_search', AUTH_COOKIE, 'user'),
'comletter/admin' => $this->make_hook('admin_nl', AUTH_PASSWD, 'user'),
function handler_out($page, $hash = null, $issue_id = null)
{
+ $hash = ($hash == 'nohash') ? null : $hash;
if (!$hash) {
if (!S::logged()) {
return PL_DO_AUTH;
{
return array(
'epletter' => $this->make_hook('nl', AUTH_COOKIE, 'user'),
- 'epletter/out' => $this->make_hook('out', AUTH_PUBLIC),
+ 'epletter/out' => $this->make_hook('out', AUTH_COOKIE, 'user'),
'epletter/show' => $this->make_hook('nl_show', AUTH_COOKIE, 'user'),
'epletter/search' => $this->make_hook('nl_search', AUTH_COOKIE, 'user'),
'epletter/admin' => $this->make_hook('admin_nl', AUTH_PASSWD, 'user'),
function handler_out($page, $hash = null, $issue_id = null)
{
+ $hash = ($hash == 'nohash') ? null : $hash;
if (!$hash) {
if (!S::logged()) {
return PL_DO_AUTH;
{
return array(
'fxletter' => $this->make_hook('nl', AUTH_COOKIE, 'user'),
- 'fxletter/out' => $this->make_hook('out', AUTH_PUBLIC),
+ 'fxletter/out' => $this->make_hook('out', AUTH_COOKIE, 'user'),
'fxletter/show' => $this->make_hook('nl_show', AUTH_COOKIE, 'user'),
'fxletter/search' => $this->make_hook('nl_search', AUTH_COOKIE, 'user'),
'fxletter/admin' => $this->make_hook('admin_nl', AUTH_PASSWD, 'user'),
function handler_out($page, $hash = null, $issue_id = null)
{
+ $hash = ($hash == 'nohash') ? null : $hash;
if (!$hash) {
if (!S::logged()) {
return PL_DO_AUTH;