~hatch/juju-gui/ghost-view

« back to all changes in this revision

Viewing changes to app/store/env/python.js

  • Committer: Jeff Pihach
  • Date: 2013-05-15 15:17:03 UTC
  • mfrom: (653.4.10 auth-routes)
  • Revision ID: jeff.pihach@canonical.com-20130515151703-96vp4i4ylq8mjkhy
Converted login/logout to use routes

Login/Logout is now controlled via the routing system
this caused a number of issues with the order of
operations for the auth system so I would love
another QA using all three back ends please.

R=bcsaller, matthew.scott
CC=
https://codereview.appspot.com/9415043

Show diffs side-by-side

added added

removed removed

Lines of Context:
297
297
    login: function() {
298
298
      // If the user is already authenticated there is nothing to do.
299
299
      if (this.userIsAuthenticated) {
 
300
        this.fire('login', { data: { result: true }});
300
301
        return;
301
302
      }
302
303
      var credentials = this.getCredentials();