diff --git a/src/utils/strategies.ts b/src/utils/strategies.ts index ea4b0830d..baca8311e 100644 --- a/src/utils/strategies.ts +++ b/src/utils/strategies.ts @@ -21,7 +21,7 @@ export function fulfill( done: StrategyDoneFunction ): void { errorOrUser.fold( - error => done(undefined, false, error.message), + error => done(error), user => done(undefined, user.isNone() ? false : user.value) ); }