Skip to content

Commit

Permalink
Hide register for now (#990)
Browse files Browse the repository at this point in the history
* direct register still doesn't quite work; register from keycloak works

* direct register still doesn't quite work; register from keycloak works
  • Loading branch information
longshuicy authored Apr 4, 2024
1 parent ff93606 commit ce92a6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ export default function PersistentDrawerLeft(props) {
<Box sx={{ marginLeft: "auto" }}>
{loggedOut ? (
<>
<Link href="/auth/register" sx={link}>
Register
</Link>
{/*<Link href="/auth/register" sx={link}>*/}
{/* Register*/}
{/*</Link>*/}
<Link href="/auth/login" sx={link}>
Login
</Link>
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/components/PublicLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ export default function PersistentDrawerLeft(props) {
</SearchDiv>
<Box sx={{ flexGrow: 1 }} />
<Box sx={{ marginLeft: "auto" }}>
<Link href="/auth/register" sx={link}>
Register
</Link>
{/*<Link href="/auth/register" sx={link}>*/}
{/* Register*/}
{/*</Link>*/}
<Link href="/auth/login" sx={link}>
Login
</Link>
Expand Down

0 comments on commit ce92a6f

Please sign in to comment.