Skip to content

Commit

Permalink
Merge pull request #217 from n8io/chore/upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
n8io authored May 18, 2020
2 parents 8dc1ecb + e1faad0 commit b7d5500
Show file tree
Hide file tree
Showing 4 changed files with 828 additions and 989 deletions.
2 changes: 1 addition & 1 deletion packages/service/src/types/password/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const hash = async (clearTextPassword) => {
};

const compare = (clearTextPassword, passwordHash) => {
if (config.isDev) return true;
if (config.isDev && !config.isTest) return true;

return bcryptCompare(clearTextPassword, passwordHash);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const InternetConnectivity = ({ children }) => {
};

await checkInternetConnection();
}, Time.seconds(5));
}, Time.seconds(15));

return (
<Provider.INTERNET_CONNECTIVITY value={isInternetConnected}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const Form = () => {
reset(UserSelfUpdateInput.makeInitial(self));
}, [self, reset]);

if (loading || !self) return <Loader />;
if (loading && !self) return <Loader />;

return (
<SharedForm {...formProps} onSubmit={onSelfUpdate}>
Expand Down
Loading

0 comments on commit b7d5500

Please sign in to comment.