Rewrite of authentication logic.
Created Docs.Auth which performs the actual login/logout stuff. Docs.view.auth.Form represents the form at the header of the app, firering "login" and "logout" events. The Auth controller just binds these two things together - listening to the events from AuthForm, performing the login with Docs.Auth and calling back to AuthForm to change how it looks after login.
Loading
Please sign in to comment