solidusio / solidus_auth_devise

🔑 Devise authentication for your Solidus store.
http://solidus.io
BSD 3-Clause "New" or "Revised" License
52 stars 124 forks source link

Don't require deface for solidus 2.5+ #114

Closed jhawthorn closed 6 years ago

jhawthorn commented 6 years ago

Solidus now renders an empty spree/shared/login_bar_items partial which we can replace instead of needing deface.

To try and prevent compatibility issues, this partial is named login_bar_items instead of login_bar so that users on older versions of auth_devise won't accidentally have two copies of the login menu in their nav.

The old login_bar partial now renders login_bar and issues a warning in case it was being rendered from custom frontend code.