-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to deploy TwoFactorX to front-end / Login #2
Comments
You can insert 'code' field into LoginTpl like: but still won't get logged in. However calling preHooks=
Anyone to solve this? |
Hi again, thanks for your suggestions @weboopl .. I see this is now reflected in the docs I've altered my Login call:
and added the following field to the login form tpl:
However, although the code field appears - in all cases I can log in without specifying the auth code - just supplying the user & password. Even supplying an incorrect code gets me logged in. TwoFactorX is enabled and works as expected on the Manager login page. I'd love to get this working - any help much appreciated. MODX 3.0.5-pl |
in
Is it possible that the logic here may be wrong? Switching it to:
appears to result in the expected behaviour. |
Or perhaps
|
Hello deJaya, In my opinion, the Best regards |
Switching line 50 to |
Yes, this works. Checking the Conclusion for me. It's best to leave onetime sign-on deactivated from the start. |
Hi, I'm just testing this and it's looking really great.
In terms of adding an Authentication Code field to the front-end login form provided by the Login Extra - I don't see any documentation on how to do this.
In GoogleAuthenticatorX we could add something like:
Any advice on this?
Thanks
The text was updated successfully, but these errors were encountered: