Skip to content

Commit

Permalink
fix interact bug
Browse files Browse the repository at this point in the history
  • Loading branch information
shihjay2 committed Oct 15, 2024
1 parent 5161c9d commit e2956c0
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions pages/interact/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,17 +92,6 @@ export default function Interact({ challenge }: { challenge: string }) {
if (!emailStatus) {
return (
<>
<Head>
<script
dangerouslySetInnerHTML={{
__html: `
if (document.cookie && document.cookie.includes('authed')) {
window.location.href = "/myTrustee/dashboard"
}
`,
}}
/>
</Head>
<div>
<h2>Trustee Authorization Server</h2>
<Login challenge={challenge} clinical={false} authonly={true} client={client} setEmail={setEmail} locations={locations}/>
Expand Down

0 comments on commit e2956c0

Please sign in to comment.