You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)"
The text was updated successfully, but these errors were encountered:
Thanks for detecting and reporting the problem @bhodges-navapbc ! So the solution seems to be simply redefining the User table. Can you do that and send a PR? We'll integrate it right away if you could!
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)"
The text was updated successfully, but these errors were encountered: