mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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