sorcery icon indicating copy to clipboard operation
sorcery copied to clipboard

current_user replaced by sorcery_current_user (+ backward compatibility)

Open rivsc opened this issue 9 years ago • 4 comments

Fix devise compatibility.

rivsc avatar Oct 30 '15 09:10 rivsc

See https://github.com/NoamB/sorcery/pull/730 why Travis CI fail !

rivsc avatar Oct 30 '15 09:10 rivsc

Hey @rivsc!

While I wanted to do this myself (changing name of that method), I was wondering - why would you need Devise compatibility? Since these 2 libraries provide the same functionality, is there any reason to use both of them in the same project?

arnvald avatar Feb 13 '16 11:02 arnvald

Hi @arnvald,

I use Sorcery for customers of new public website (easy to custom controllers and views) and Devise to manage the website (older Rails engine...). The two parts are in the same Rails engine.

rivsc avatar Feb 13 '16 17:02 rivsc

This is an interesting use case. @rivsc, what are you doing with this problem now?

Ch4s3 avatar May 24 '16 17:05 Ch4s3