Skip to content

Commit

Permalink
Update auth.js
Browse files Browse the repository at this point in the history
* Spacing

Post #1707
  • Loading branch information
Martii authored Feb 6, 2020
1 parent 085dc9e commit c940251
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ exports.callback = function (aReq, aRes, aNext) {
// Hijack the private verify method so we can mess stuff up freely
// We use this library for things it was never intended to do
if (openIdStrategies[strategy]) {
switch(strategy) {
switch (strategy) {
case 'steam':
strategyInstance._verify = function (aIgnore, aId, aDone) {
verifyPassport(aId, strategy, username, aReq.session.user, aDone);
Expand All @@ -231,7 +231,7 @@ exports.callback = function (aReq, aRes, aNext) {
};
}
} else {
switch(strategy) {
switch (strategy) {
default:
strategyInstance._verify = function (aToken, aRefreshOrSecretToken, aProfile, aDone) {
aReq.session.profile = aProfile;
Expand Down

0 comments on commit c940251

Please sign in to comment.