Describe the bug
User creation fails when using a version of the Werkzeug dependency >= v3.0.0
Flask-MonitoringDashboard uses generate_password_hash, which has switched to defaulting to scrypt in werkzeug.security. This results in hashes with a length of 162, whereas the User table password_hash column has a length of 128.
To Reproduce
Steps to reproduce the behavior:
Perform a base install and attempt to login with the default credentials. An account is not created in the User table.
Example error output using PostgreSQL for the database would include "value too long for type character varying(128)"
Describe the bug
User creation fails when using a version of the Werkzeug dependency >= v3.0.0
Flask-MonitoringDashboard uses generate_password_hash, which has switched to defaulting to scrypt in werkzeug.security. This results in hashes with a length of 162, whereas the User table password_hash column has a length of 128.
To Reproduce
Steps to reproduce the behavior:
Perform a base install and attempt to login with the default credentials. An account is not created in the User table.
Example error output using PostgreSQL for the database would include "value too long for type character varying(128)"