On XF 1.2, when enabled this addon (1.3.0), it will cause the whole site to show error nginx 500 Internal server error.
Hope this help.Just installing the zip on a fresh XF installation now, I guess I could have missed a file from the zip? Do you have anything in your server logs?
Were you able to use any of the info from the error log?Just installing the zip on a fresh XF installation now, I guess I could have missed a file from the zip? Do you have anything in your server logs?
Did you find any cause?Just installing the zip on a fresh XF installation now, I guess I could have missed a file from the zip? Do you have anything in your server logs?
I'm trying to get this to work with 1.2.1.
The installation went fine, no errors, and I installed an authentication method. I enabled it under Home-Options-Two Factor Authentication, and I set the options for my authentication method as well. And I see the Two Factor tab under each user in the Admin Panel and that the option is enabled for each.
However there doesn't seem to be any option to add a key under the User Settings. In fact, the Two-Factor option doesn't show up under User Settings at all.
Am I missing something simple?
$usernameOrEmail = $this->_input->filterSingle('username_email', XenForo_Input::STRING);
$user = $this->_getUserModel()->getUserByNameOrEmail($usernameOrEmail);
What happens when a users phone dies? How will they be able to access the website again?
This looks like awesome functionality to offer to my members but I do not want to loose members over it.
Confirmed!like this add one but u get this error when trying to reset/lost the device, key function:
this is on xenforo v 1.2.3 i need this to be fixed b4 i can let other members use this otherwise there will be issues with this and i cannot find any server error logs for this
same:
Hello,
I got problem with "Lost your two-factor device". It doesn't sent reset email. These is what I have:
I tried test on my local, this line doesn't works and return empty:
- XenForo 1.2
- Using Amazon email account for sending
Code:$usernameOrEmail = $this->_input->filterSingle('username_email', XenForo_Input::STRING);
Also for this, return another user different current login user:
Code:$user = $this->_getUserModel()->getUserByNameOrEmail($usernameOrEmail);
Could you please help me.
Thank you
//$this->_assertPostOnly();
$usernameOrEmail = $this->_input->filterSingle('username_email', XenForo_Input::STRING);
$user = $this->_getUserModel()->getUserByNameOrEmail($usernameOrEmail);
if (!$user)
{
return $this->responseError(new XenForo_Phrase('requested_member_not_found'), 404);
}
<dl class="ctrlUnit submitUnit">
<dt></dt>
<dd>
<input type="submit" class="button primary" value="{xen:phrase log_in}" />
<a href="{xen:link lost-twofactor/lost, '', 'username_email={$login}'}" class="OverlayTrigger OverlayCloser">{xen:phrase lost_twofactor_device}</a>
</dd>
</dl>
<dl class="ctrlUnit submitUnit">
<dt></dt>
<dd>
<input type="submit" class="button primary" value="{xen:phrase log_in}" />
<a href="{xen:link lost-twofactor/lost, '', 'username_email={$passThru.login}'}" class="OverlayTrigger OverlayCloser">{xen:phrase lost_twofactor_device}</a>
</dd>
</dl>
We use essential cookies to make this site work, and optional cookies to enhance your experience.