Can't create multiple instances of connected account provider type XenForo

Chris D said:
Kinda. There’s only one pre-installed but you can add multiple entries of type XF:Provider\XenForo to the provider table in the database if that’s needed.
Click to expand...
This does not work as the providerId is hardcoded in XF\ConnectedAccount\ProviderData

PHP:

Код:
public function getDefaultEndpoint(): string
{
    /** @var \XF\Entity\ConnectedAccountProvider $provider */
    $provider = \XF::app()->em()->find(ConnectedAccountProvider::class, 'xenforo');

    return...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ