Added user roles and authentication, sign in/out

This commit is contained in:
Jason Denney
2012-12-29 16:22:24 -05:00
parent bb27c7a585
commit db9982dcd2
23 changed files with 232 additions and 89 deletions
@@ -0,0 +1,5 @@
//when signed out, or session expires forward to sign in page
Ext.Ajax.on('requestexception', function(conn, response, options) {
if (response.status === 401) { window.location = '/users/sign_in'; }
}, this);