Skip to content

Commit f8de2d0

Browse files
authored
Merge pull request #8 from danorlando/feat-client-server-oauth-passport
disable google and facebook strategies
2 parents a2edecd + 8487289 commit f8de2d0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

api/server/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ const projectPath = path.join(__dirname, '..', '..', 'client');
3232
// Auth
3333
app.use(passport.initialize());
3434
require('../strategies/jwtStrategy');
35-
require('../strategies/facebookStrategy');
36-
require('../strategies/googleStrategy');
35+
// require('../strategies/facebookStrategy');
36+
// require('../strategies/googleStrategy');
3737
require('../strategies/localStrategy');
3838

3939
// ROUTES

client/src/data-provider/react-query-service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export const useGetUserQuery = (config?: UseQueryOptions<t.TUser>): QueryObserve
3131
refetchOnWindowFocus: false,
3232
refetchOnReconnect: false,
3333
refetchOnMount: false,
34+
retry: false,
3435
...config,
3536
});
3637
};
@@ -127,6 +128,7 @@ export const useGetConversationsQuery = (pageNumber: string, config?: UseQueryOp
127128
dataService.getConversations(pageNumber), {
128129
refetchOnReconnect: false,
129130
refetchOnMount: false,
131+
retry: false,
130132
...config,
131133
}
132134
);

0 commit comments

Comments
 (0)