mirror of
https://github.com/flarum/core.git
synced 2025-08-05 07:57:46 +02:00
Add ember-simple-auth, setup login
- Allow dropdown-buttons to render a partial
This commit is contained in:
9
ember/app/initializers/authentication.js
Normal file
9
ember/app/initializers/authentication.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import FlarumAuthorizer from '../authorizers/flarum';
|
||||
|
||||
export default {
|
||||
name: 'authentication',
|
||||
before: 'simple-auth',
|
||||
initialize: function(container) {
|
||||
container.register('authorizer:flarum', FlarumAuthorizer);
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user