I recently set up Passbolt on Docker, everything worked just fine. While I was doing some tests, I did something stupid, which was logging off from my admin account and log in with another user account with the same web browser.
Now if I try to access my admin account, I land on the recovery page, but the mail is never sent. My SMTP is working just fine, as email test was successful and I was able to invite other users, so the issue is somewhere else.
I don’t know if this information could be useful, but I added my admin account through CLI.
I haven’t found anything to get my admin invitation link again without deleting and recreate the user.
Well, I’ve been able to get my user_id and token to get the link.
However I got this:
I tried with 2 differents links: https://<your_URL>/setup/recover/<user_id>/<token> and https://<your_URL>/setup/install/<user_id>/<token> but got the same result.
So what I’ve done was running this command on the database: select email, subject, error, created, sent from email_queue;
SELECT users.username, user_id, token, type FROM authentication_tokens, users WHERE authentication_tokens.user_id=users.id AND type IN ('register', 'recover') AND authentication_tokens.active=true;
I’ve been able to get the correct token thanks to you. I got my admin account back. Thanks a lot guys !
Maybe I should learn a lot more about databases… could be useful