This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/pods/users/lockoutauthenticate/route.js
2015-07-16 18:47:12 -08:00

9 lines
247 B
JavaScript

import Ember from 'ember';
export default Ember.Route.extend({
beforeModel: function(transition) {
let token = Ember.get(transition, 'queryParams.token');
this.get('session').authenticate('authenticator:jwt-resolved', token);
},
});