Skip to content

Commit 2b4c511

Browse files
committed
fix: remove hardcoded localhost header in magic link
1 parent 36530f1 commit 2b4c511

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

apps/agent/entrypoints/app/login/LoginPage.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ export const LoginPage: FC = () => {
4848
const result = await signIn.magicLink({
4949
email: email.trim(),
5050
callbackURL: '/home',
51-
fetchOptions: {
52-
headers: {
53-
origin: 'localhost',
54-
},
55-
},
5651
})
5752

5853
if (result.error) {

0 commit comments

Comments
 (0)