Skip to content

Commit ce92a6f

Browse files
authored
Hide register for now (#990)
* direct register still doesn't quite work; register from keycloak works * direct register still doesn't quite work; register from keycloak works
1 parent ff93606 commit ce92a6f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

frontend/src/components/Layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,9 @@ export default function PersistentDrawerLeft(props) {
187187
<Box sx={{ marginLeft: "auto" }}>
188188
{loggedOut ? (
189189
<>
190-
<Link href="/auth/register" sx={link}>
191-
Register
192-
</Link>
190+
{/*<Link href="/auth/register" sx={link}>*/}
191+
{/* Register*/}
192+
{/*</Link>*/}
193193
<Link href="/auth/login" sx={link}>
194194
Login
195195
</Link>

frontend/src/components/PublicLayout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ export default function PersistentDrawerLeft(props) {
159159
</SearchDiv>
160160
<Box sx={{ flexGrow: 1 }} />
161161
<Box sx={{ marginLeft: "auto" }}>
162-
<Link href="/auth/register" sx={link}>
163-
Register
164-
</Link>
162+
{/*<Link href="/auth/register" sx={link}>*/}
163+
{/* Register*/}
164+
{/*</Link>*/}
165165
<Link href="/auth/login" sx={link}>
166166
Login
167167
</Link>

0 commit comments

Comments
 (0)