Skip to content

Commit

Permalink
fixing bug on callbback redirecting to root route
Browse files Browse the repository at this point in the history
  • Loading branch information
caiokf committed Nov 19, 2019
1 parent 8cc504b commit 67b5b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default class Auth {
}

getNextPath() {
return localStorage.getItem(AUTH_NEXT_PATH_KEY) || ROOT_ROUTE
return localStorage.getItem(AUTH_NEXT_PATH_KEY) || this.options.rootRoute
}

setNextPath(nextPath) {
Expand Down

0 comments on commit 67b5b54

Please sign in to comment.