Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
Merge pull request #972 from Lokiedu/fix/login-route
Browse files Browse the repository at this point in the history
Clear route query parameter after successful login
  • Loading branch information
Artem Kravchenko committed Dec 17, 2017
2 parents 466df0b + 1def97f commit 7160357
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/triggers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,10 +336,11 @@ export class ActionsTrigger {
this.dispatch(a.messages.addError('api.errors.internal'));
}

return;
return false;
}

this.loginUser(needRedirect, user);
return true;
};

loginUser = async (needRedirect, user) => {
Expand Down

0 comments on commit 7160357

Please sign in to comment.