flyerhzm/switch_user — pull request #17 by lcowell (2012-09-22 21:21:54+00:00)
Title: Split providers

Code for implementing login/logout and current user for devise, restful authentication, authlogic and sorcery were implemented in the switch user controller. This request moves this logic in to separate provider classes.This reduces duplication and will make it easier to add new providers and adapt existing providers should the underlying APIs change.