We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a16b9 commit eddf4bdCopy full SHA for eddf4bd
app/routes/login.js
@@ -1,5 +1,12 @@
1
import Ember from 'ember';
2
3
+/**
4
+ * This route will open a popup window directed at the `/github_login` route.
5
+ * After the window has opened it will wait for the window to close and
6
+ * then evaluate whether the OAuth flow was successful.
7
+ *
8
+ * @see `/github_authorize` route
9
+ */
10
export default Ember.Route.extend({
11
beforeModel: function(transition) {
12
try { localStorage.removeItem('github_response'); } catch (e) {}
@@ -45,4 +52,3 @@ export default Ember.Route.extend({
45
52
transition.abort();
46
53
}
47
54
});
48
-
0 commit comments