Introduce a dedicated recovery/reset function to the /pgadmin4/setup.py command list to allow administrators to easily recover locked-out accounts directly from the command line without manual database intervention.
Proposed CLI Interface
- Dedicated Recovery Command (Recommended):
python /pgadmin4/setup.py recover-user --username <email> [--reset-attempts] [--unlock]
This FR comes based on a ticket from pg-admin helm-charts: rowanruseler/helm-charts#344
Introduce a dedicated recovery/reset function to the
/pgadmin4/setup.pycommand list to allow administrators to easily recover locked-out accounts directly from the command line without manual database intervention.Proposed CLI Interface
This FR comes based on a ticket from pg-admin helm-charts: rowanruseler/helm-charts#344