framework/ember/app/initializers/authentication.js

10 lines
233 B
JavaScript
Raw Normal View History

import FlarumAuthorizer from 'flarum/authorizers/flarum';
export default {
2015-02-06 08:05:46 +08:00
name: 'authentication',
before: 'simple-auth',
initialize: function(container) {
container.register('authorizer:flarum', FlarumAuthorizer);
}
};