8000
Skip to content

DisabledSessionError on Registration. #5473

Description

@bnjtgly

Environment

  • Ruby 3.1.0
  • Rails 7.0.2
  • Devise 4.8.1

Current behavior

Prior to the issue, I have a Rails 6.1.4 API only app and the devise is perfectly fine. After I upgraded to Rails 7.0.2 the registrations_controller causes an error now. I appreciate your help. Thank you.

Getting the following error on a rails API only app's registrations_controller.rb.
"exception": "#<ActionDispatch::Request::Session::DisabledSessionError: Your application has sessions disabled. To write to the session you must first configure a session store>"

Expected behavior

Registration should be successful. As everything works perfectly before I upgraded to 7.0.2.

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

    0