Skip to content

Instantly share code, notes, and snippets.

@mupkoo

mupkoo/auth.js

Created Sep 2, 2014
Embed
What would you like to do?
app/initializers/auth.js
// app/initializers/auth.js
import AuthManager from 'ivry/lib/auth/manager';
export default {
name: 'auth',
initialize: function(container, app) {
var manager = AuthManager.create();
app.register('auth:manager', manager, { singleton: true });
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.