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

MISP-Modules Website sqlalchemy error for admin user #705

Open
danieleperera opened this issue Nov 25, 2024 · 0 comments
Open

MISP-Modules Website sqlalchemy error for admin user #705

danieleperera opened this issue Nov 25, 2024 · 0 comments
Assignees

Comments

@danieleperera
Copy link

If an admin account is enabled, the first login is successful, however, if you logout and try to login.
You get an SQLalchemy error as the admin user must have first_name and last_name: in app/account/account.py

Adding:
user = User(email="[email protected]",first_name="admin", last_name="admin"

Fixed the error.

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

No branches or pull requests

2 participants