You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And added <a href="...">Unlink from account</a> inside <li> pair to represent unlinking action, but click on this link has same behavior as click on button generated by clientLink method call.
This happens because JS-script of auth choice widget (vendor/yiisoft/yii2-authclient/assets/authchoice.js) has the following line (line no.34):
$container.find('a').on('click', function(e) {
Click on a tags inside the container starts auth procedure, opens pop-up of current social provider and do their job.
I guess we need ability to customize widget to set selector of that buttons, for example a.auth-action-btn or something like this.
The text was updated successfully, but these errors were encountered:
I took code from doc page: http://www.yiiframework.com/doc-2.0/yii-authclient-widgets-authchoice.html:
And added
<a href="...">Unlink from account</a>
inside<li>
pair to represent unlinking action, but click on this link has same behavior as click on button generated byclientLink
method call.This happens because JS-script of auth choice widget (vendor/yiisoft/yii2-authclient/assets/authchoice.js) has the following line (line no.34):
Click on
a
tags inside the container starts auth procedure, opens pop-up of current social provider and do their job.I guess we need ability to customize widget to set selector of that buttons, for example
a.auth-action-btn
or something like this.The text was updated successfully, but these errors were encountered: