cypht-org / cypht

Cypht: Lightweight Open Source webmail aggregator [PHP, JS]. Supports IMAP/SMTP, JMAP and soon EWS
http://cypht.org
GNU Lesser General Public License v2.1
1k stars 161 forks source link

Unable to generate 2 factor authentication QR code #438

Open mzch opened 4 years ago

mzch commented 4 years ago

💬 Question

I enabled 2fa module and login but 'Unable to generate 2 factor authentication QR code`. I found #134 but folders' permission is correct (owner is www-data) Could anyone tell me how to fix this issue?

OS: Debian 10.6 PHP: PHP 7.3.19-1~deb10u1

jasonmunro commented 4 years ago

DId you also confirm that you have PHP GD support enabled? I have php7.4-gd installed on my Debian unstable setup. We need GD to render the barcode image.

mzch commented 4 years ago

Yes, I have php-gd.

cptsanifair commented 3 years ago

as i see it in the Config. Did you tryed to set-up a 2fa key in modules/2fa/2fa.ini?

marclaporte commented 2 years ago

@mzch We need more info.

marclaporte commented 6 months ago

@mzch Please retest, as a lot has changed since you reported this issue. Notably, we now have 3 active branches and recently released Cypht 2.0.0