linnovate/mean — pull request #904 by rmisiak (2014-11-21 10:22:40+00:00)
Title: consistently set all user models upon login

The various controllers in the user package updated some combination of the following properties for each login event:

$rootScope.user
Global.user
Global.authenticated

But they weren't all updated in all circumstances.

Additionally, window.user gets set in the default index.html, but never gets updated on login events.

This pull request consistently updates all user values upon each of the login events.