Re: Question regarding mail server

2023-07-27 Thread Christos Roussidis
Hi Aditya, You're right it indeed solves the problem as described. I will report it in the github. I am facing *another* problem with the new version 7.5 that was not existent in the 7.3 version. I am running pgadmin as an apache virtual host based on the official example from the documentation.

Re: Question regarding mail server

2023-07-27 Thread Aditya Toshniwal
Hi Christos, I found the issue. I was using the default config, but it is reproducible with MFA_SUPPORTED_METHODS = ["authenticator"]. As a workaround, you can remove MFA_SUPPORTED_METHODS from your config_system. It will show up the email option in 2FA setup but 2FA will work fine. Do you mind re

Re: Question regarding mail server

2023-07-27 Thread Christos Roussidis
This is the log dump I am getting. I have setup the 2FA already with an authenticator and when I log in using my credentials I get the below error. 2023-07-27 12:53:14,574: ERROR pgadmin: 'mfa.send_email_code' Traceback (most recent call last): File "/usr/pgadmin4/venv/lib/python3.10/site-packages

Re: Question regarding mail server

2023-07-27 Thread Aditya Toshniwal
Hi Christos, 2FA is applicable for server mode only. And I tested in server mode. I used pgAdmin default config. Can you please share the screenshot and logs for v7.5? On Thu, Jul 27, 2023 at 4:05 PM Christos Roussidis < xristos.roussi...@gmail.com> wrote: > Hello Aditya, > > Thank you for your

Re: Question regarding mail server

2023-07-27 Thread Christos Roussidis
Hello Aditya, Thank you for your prompt response, Did it work on the desktop mode or in server mode? I face that problem in the server mode. I will send you the configuration I have set OS: debian 11 pgadmin4 version :7.3 (working, but error is being printed in logs), 7.5 (not working) config f

Re: Question regarding mail server

2023-07-27 Thread Aditya Toshniwal
Hi Christos, I tried simply setting up 2FA without SMTP config and things worked fine. No email required and no errors. The password reset is required to send email as pgAdmin needs to send the reset link for the first "email with password" authentication. On Thu, Jul 27, 2023 at 3:34 PM Christos