mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:11:12 +08:00
REFACTOR: Remove Discourse.Ajax
This commit is contained in:
@ -245,6 +245,7 @@ define("discourse/initializers/login-method-#{hash}",
|
||||
name: "login-method-#{hash}",
|
||||
after: "inject-objects",
|
||||
initialize: function() {
|
||||
if (Ember.testing) { return; }
|
||||
module.register(#{auth_json});
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user