Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup password is generated in 'old' format #8

Open
pixil98 opened this issue Apr 20, 2022 · 2 comments
Open

Setup password is generated in 'old' format #8

pixil98 opened this issue Apr 20, 2022 · 2 comments
Assignees

Comments

@pixil98
Copy link

pixil98 commented Apr 20, 2022

I just deployed this over the weekend and I get the following message when I navigate to the postfixadmin setup page. It won't let me login until it's dealt with.

Your setup_password is in an obsolete format. As of PostfixAdmin 3.3 it needs regenerating.

It looks like line 65 of config.local.php should be the following. I've tested it in my deployment and it fixes the problem.

$CONF['setup_password'] = password_hash(($_ENV['PFA_SETUP_PASS'] ? $_ENV['PFA_SETUP_PASS'] : $_ENV['PFA_DB_PASS']), PASSWORD_DEFAULT);
@technicalguru
Copy link
Owner

Thanks,

i haven't tested the fresh setup, that's why it might not have been occurred in my setup. I will test and fix.

@jeroenrnl
Copy link

I think this one can be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants