File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -141,12 +141,8 @@ const signIn = async (
141
141
}
142
142
143
143
const signOut = async ( ) => {
144
- // Get app hostname so we can see if we need to log out of app URLs.
145
- // We need to load this before we log out of the API as this is an
146
- // authenticated endpoint.
147
- const appHost = await API . getApplicationsHost ( )
148
144
const [ authMethods ] = await Promise . all ( [
149
- API . getAuthMethods ( ) , // Antecipate and load the auth methods
145
+ API . getAuthMethods ( ) , // Anticipate and load the auth methods
150
146
API . logout ( ) ,
151
147
] )
152
148
@@ -372,7 +368,7 @@ export const authMachine =
372
368
updateProfileError : ( _ ) => undefined ,
373
369
} ) ,
374
370
redirect : ( _ , { data } ) => {
375
- window . location . href = location . origin
371
+ window . location . href = location . origin
376
372
} ,
377
373
} ,
378
374
guards : {
You can’t perform that action at this time.
0 commit comments