Skip to content

Commit

Permalink
fix(oauth): when email is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul B committed Dec 7, 2014
1 parent fa5e692 commit 1b70cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/services/api/oauth.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ angular.module('squareteam.api')
var params = $location.search();
return params &&
params['errors[email][]'] &&
params['errors[email][]'] === 'api.missing_attribute' &&
params['errors[email][]'].indexOf('api.missing_attribute') >= 0 &&
params.provider;
},

Expand Down

0 comments on commit 1b70cc1

Please sign in to comment.