Skip to content

[Bug Report]: MFA error after artisan key:generate #3229

@christianhz01

Description

@christianhz01

Describe the Bug

If you have activated TOPT MFA and then renew the application key with "artisan key:generate", the MFA login fails. In this case, MFA must be reset for the user.

Steps to Reproduce

  1. Enable MFA for an User
  2. change something in the .env File
  3. execute artisan key:generate
  4. Now you get an error if you try to login with the mfa user

Expected Behaviour

no Error?

Screenshots or Additional Context

No response

Exact BookStack Version

21.12.3

PHP Version

7.3

Hosting Environment

Ubuntu20, Apache2, php7.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions