Skip to content
This repository was archived by the owner on Feb 8, 2026. It is now read-only.
This repository was archived by the owner on Feb 8, 2026. It is now read-only.

Login with admin user but redirecting to front-store instead of admin dashboard #402

@chetanrana2702

Description

@chetanrana2702

Case 1: When I am trying to login as admin from (http://lvh.me:3000/admin/login) it is redirecting me to front-store(http://lvh.me:3000) as customer instead of (http://lvh.me:3000/admin/orders) which is a wrong behaviour.

Case 2: But when i type this url (http://lvh.me:3000/admin/orders) directly on browser it is showing me the Admin portal as well. So at same time it is maintaining session for both sides which is front-store and Admin.

Ruby version: 2.5.0
Rails version: 5.1.4
Spree version: 3.4

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