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

Devise logout for Cms::ExternalUser #707

Open
jamesprior opened this issue Mar 24, 2014 · 1 comment
Open

Devise logout for Cms::ExternalUser #707

jamesprior opened this issue Mar 24, 2014 · 1 comment

Comments

@jamesprior
Copy link
Contributor

Devise cannot find an authentication strategy when logging out a Cms::ExternalUser. I suspect it is because Cms::ExternalUser does not inherit from Cms::User, so when devise receives a Cms::ExternalUser to log out it doesn't match it to an existing strategy. I think perhaps if Devise had an authentication strategy for Cms::PersistentUser it would work but that is currently un-tested.

@jamesprior
Copy link
Contributor Author

FYI it looks like this is an easy config fix to the devise_for command. I would like to test it a bit more before making a PR though.

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

1 participant