litstack / 2fa

2 factor authentication for litstack.
https://litstack.io/docs/packages/2fa
1 stars 2 forks source link

A number of fixes #3

Open EvvC opened 2 years ago

EvvC commented 2 years ago

Hi! I installed this package and had to make some changes before it worked.

  1. /src/Google2FA:7 should implement TwoFA, not TwoFa - case trouble.
  2. /js/LitTwoFA.vue:82 should be instead of
    - I saw base64 instead of QR.
  3. /dist/2fa.js should be rebuilt accordingly.
  4. In documentation https://litstack.io/docs/3.x/packages/2fa#user-model $table->string('two_fa_secret') creates 255 length field. I got 'two_fa_secret' generated value length 256.
EvvC commented 2 years ago

Oops, sorry for point 2. There should be img, not div.