Skip to content

Commit

Permalink
fix: fix app settings on login page
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcl-io committed Apr 15, 2021
1 parent 4f83502 commit 8d828f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const Login = () => {
initialValues: {
username: '',
password: '',
enableCloudSyncLogin: true,
enableCloudSyncLogin: !!appSettings?.enableCloudSyncLogin,
},
validationSchema: () =>
yup.object().shape({
Expand Down

0 comments on commit 8d828f7

Please sign in to comment.