mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-12 17:22:38 +02:00
fix(auth): remove redundant token storage write
This commit is contained in:
parent
c8374e6c5b
commit
935cd7b7c9
2 changed files with 2 additions and 10 deletions
|
|
@ -8,11 +8,7 @@ export default function AuthCallbackPage() {
|
|||
// TokenHandler uses useGlobalLoadingEffect to show the loading screen
|
||||
return (
|
||||
<Suspense fallback={null}>
|
||||
<TokenHandler
|
||||
redirectPath="/dashboard"
|
||||
tokenParamName="token"
|
||||
storageKey="surfsense_bearer_token"
|
||||
/>
|
||||
<TokenHandler redirectPath="/dashboard" tokenParamName="token" />
|
||||
</Suspense>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue