Thread: My account was locked in pgadmin4
I forgot my password but I didn't receive any message in my email account for recover my password.
--
With kindest regards, William.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀
With kindest regards, William.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀
Hi William,
Have you configured the SMTP configuration in pgAdmin? You need to set it to receive emails.
########################################################################## # Mail server settings ########################################################################## # These settings are used when running in web server mode for confirming # and resetting passwords etc. # See: http://pythonhosted.org/Flask-Mail/ for more info MAIL_SERVER = 'localhost' MAIL_PORT = 25 MAIL_USE_SSL = False MAIL_USE_TLS = False MAIL_USERNAME = '' MAIL_PASSWORD = '' MAIL_DEBUG = False
On Thu, Nov 24, 2022 at 11:28 AM William Torrez Corea <willitc9888@gmail.com> wrote:
I forgot my password but I didn't receive any message in my email account for recover my password.--
With kindest regards, William.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"
On Thu, Nov 24, 2022 at 2:06 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi William,Have you configured the SMTP configuration in pgAdmin? You need to set it to receive emails.########################################################################## # Mail server settings ########################################################################## # These settings are used when running in web server mode for confirming # and resetting passwords etc. # See: http://pythonhosted.org/Flask-Mail/ for more info MAIL_SERVER = 'localhost' MAIL_PORT = 25 MAIL_USE_SSL = False MAIL_USE_TLS = False MAIL_USERNAME = '' MAIL_PASSWORD = '' MAIL_DEBUG = False
Thanks,Aditya ToshniwalpgAdmin Hacker | Software Architect | edbpostgres.com"Don't Complain about Heat, Plant a TREE"
How to make this configuration?
--
With kindest regards, William.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀
With kindest regards, William.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀
Hi William,
Refer - https://www.pgadmin.org/docs/pgadmin4/latest/config_py.html#the-config-py-file to create a config_local file and add the mentioned config settings.
Refer - https://kinsta.com/blog/gmail-smtp-server/ to use your gmail for SMTP.
Alternatively, if you have access to your pgAdmin installation then you can simply remove the pgadmin4.db file. It should be in /var/lib/pgadmin. Please note, this will also remove all the server configuration added to pgAdmin. Once removed, run sudo /usr/pgadmin4/bin/setup-web.sh to set username password again.
On Thu, Nov 24, 2022 at 10:01 PM William Torrez Corea <willitc9888@gmail.com> wrote:
On Thu, Nov 24, 2022 at 2:06 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:Hi William,Have you configured the SMTP configuration in pgAdmin? You need to set it to receive emails.########################################################################## # Mail server settings ########################################################################## # These settings are used when running in web server mode for confirming # and resetting passwords etc. # See: http://pythonhosted.org/Flask-Mail/ for more info MAIL_SERVER = 'localhost' MAIL_PORT = 25 MAIL_USE_SSL = False MAIL_USE_TLS = False MAIL_USERNAME = '' MAIL_PASSWORD = '' MAIL_DEBUG = FalseThanks,Aditya ToshniwalpgAdmin Hacker | Software Architect | edbpostgres.com"Don't Complain about Heat, Plant a TREE"How to make this configuration?--
With kindest regards, William.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"