Skip to content

Add Admin = "read_string: expected config min_password_length to be a string" #697

@bmatthewshea

Description

@bmatthewshea

If I try to add a super admin using "Admin List/New Admin" I get this:

PHP Fatal error: In read_string: expected config min_password_length to be a string, but received a integer in /var/www/postfixadmin-3.3.13/model/Config.php on line 75

If I go back into setup and try to add the same user, it seems to do nothing.

Everything was newly installed today on an AWS instance. Ubuntu 22 / MariaDB / etc. PostfixAdmin DB seems to be working fine so far other than this issue. (I can login fine, create/delete records/etc)

The only old portions of this server are the imported database and config.local.php (with minor changes for db connection-nothing really added to it). The old server the database/config came from are running new postfixadmin, but I had not added an admin to it in a long time so do not know if it's broken on it, too. This feels like a new issue, though. And as you can see, 'setup screen' checks out okay, as far as that goes.

If you need more info let me know.

Rt4L9S8 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions