Using linux platform, running pgadmin image on docker, all worked fine. after few bad login attemps , login is locked because of bad credentials. is it optional to unlock ? and how ?
tried to increate MAX_LOGIN_ATTEPMTS, unsuccessful attempt.
If the Administrator itself gets locked, you can increase MAX_LOGIN_ATTEMPTS like below:
Use the environment variable: PGADMIN_CONFIG_MAX_LOGIN_ATTEMPTS
For Docker:
docker run -d --name pgadmin -e PGADMIN_DEFAULT_EMAIL=your_email@example.com -e PGADMIN_DEFAULT_PASSWORD=your_password -e PGADMIN_CONFIG_MAX_LOGIN_ATTEMPTS=10 -p 80:80 dpage/pgadmin4
Note: If anyone is looking for a solution for a pgadmin pod running on a Kubernetes cluster, you can add the variable PGADMIN_CONFIG_MAX_LOGIN_ATTEMPTS
as an environment variable to the deployment YAML and restart the pod to increase the MAX_LOGIN_ATTEMPTS