Account
Resetting the owner password
Last updated: November 2022
Support documentation / Resetting the owner password
If you have forgotten the password for your master organisation's owner login, you can usually reset it by clicking "reset password" as a user would.
However, if this is a new installation and you have not yet configured system generated emails, there is an alternative method using SQL.
On your control server, run:
docker exec -it authd-postgres /bin/bash
psql -U enhance
CREATE EXTENSION pgcrypto;
UPDATE logins SET password =DECODE(CRYPT ('NEW PASSWORD',gen_salt('bf')),'escape') WHERE email = 'owner@mo.com';
(Replace owner@mo.com with the email of your owner)
You should then be able to log in.
However, if this is a new installation and you have not yet configured system generated emails, there is an alternative method using SQL.
On your control server, run:
docker exec -it authd-postgres /bin/bash
psql -U enhance
CREATE EXTENSION pgcrypto;
UPDATE logins SET password =DECODE(CRYPT ('NEW PASSWORD',gen_salt('bf')),'escape') WHERE email = 'owner@mo.com';
(Replace owner@mo.com with the email of your owner)
You should then be able to log in.