Version 4.7.0

This commit is contained in:
Neo committed 2025-12-19 16:00:35 -08:00
1 parent 517a5e1f70
commit 8ba7d43898
1933 files changed
+65613 -11332

No files matched your search

+7 -7
View File
@@ -30,7 +30,7 @@ class _Application extends \IPS\Application
if( \IPS\Request::i()->member AND \IPS\Request::i()->key )
{
$member = \IPS\Member::load( \IPS\Request::i()->member );
if( !\IPS\Login::compareHashes( md5( ( $member->members_pass_hash ?: $member->email ) . $member->members_pass_salt ), (string) \IPS\Request::i()->key ) )
if( !\IPS\Login::compareHashes( $member->getUniqueMemberHash(), (string) \IPS\Request::i()->key ) )
{
$member = NULL;
}
@@ -155,14 +155,14 @@ class _Application extends \IPS\Application
}
/**
* Return an array of specific links to add to the sitemap
* Returns a list of all existing webhooks and their payload in this app.
*
* @return array
* @return array
*/
public function sitemapLinks()
public function getWebhooks() : array
{
return array(
\IPS\Http\Url::internal( 'app=blog&module=blogs&controller=browse', 'front', 'blogs' ),
);
return array_merge( [
'blogBlog_create' => \IPS\blogs\Blog::class
], parent::getWebhooks());
}
}