login method #366

Closed
wants to merge 1 commit into
from

Projects

None yet

4 participants

almaron commented Nov 2, 2012

login method returning correct values

kuboon commented on 6c10ef2 Nov 19, 2012

if login succeeded, current_user should return valid user

https://github.com/Almaron/sorcery/blob/master/lib/sorcery/controller.rb#L66

almaron commented Nov 19, 2012

I am not talking about the current_user returning value. I am talking about login() returning value.

Contributor
kenips commented Dec 31, 2012

Still, login calls current_user - which should return the correct value.

Owner
NoamB commented Jan 12, 2013

The current return values are by design and needed.

@NoamB NoamB closed this Jan 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment