We are getting intermittent 502 on QR Code generation, and I wonder is anyone else experiencing this? Is it something to do with https://github.com/Spomky-Labs/otphp/issues/128 ?
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | Screen Shot 2020-06-09 at 10.24.51 am.png | 204.28 KB | kim.pepper |
| #4 | 3143314-4.patch | 1.33 KB | sam152 |
Comments
Comment #2
texas-bronius commentedFyi swapping out QR Code generator for One Time Password might be:
composer require endroid/qr-codeIn PasswordSetupForm.php:
and update:
I hope this helps. May be a patch one day.
Comment #3
sam152 commentedThis is a great idea and probably more secure too. Might be worth a quick audit of the library before integrating.
Comment #4
sam152 commentedImplementing your approach, seems to work well.
Comment #5
sam152 commentedComment #6
texas-bronius commentedSweet- thanks for validating :) We've been using in prod for just a week now, no issue.
I think module's composer needs to be told of `Endroid\QrCode` right?
Comment #7
sam152 commentedThe
endroid/qr-codepackage was added, composer should know how to autoload the library from there.Comment #8
sam152 commentedComment #9
kim.pepperI can confirm manually testing this patch works for enabling otp from a user account.
Comment #11
sam152 commentedAwesome, thank you all.