Skip to content

Commit

Permalink
centre title
Browse files Browse the repository at this point in the history
  • Loading branch information
kayra1 committed Aug 2, 2024
1 parent 281cd79 commit 3a6c456
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/src/app/initialize/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export default function Onboarding() {
const statusQuery = useQuery<statusResponse, Error>({
queryFn: () => getStatus()
})
console.log(statusQuery.data)
if (statusQuery.data && statusQuery.data.initialized) {
auth.setFirstUserCreated(true)
router.push("/login")
Expand Down Expand Up @@ -80,9 +79,9 @@ export default function Onboarding() {
<h2>Initialize GoCert</h2>
</div>
<div className="p-panel__content">
<h4>Create the initial admin user</h4>
<form className={"p-form-validation " + ((!passwordIsValid(password1) && password1 != "") || (!passwordsMatch && password2 != "") ? "is-error" : "")}>
<div className="p-form__group row">
<h4>Create the initial admin user</h4>
<label className="p-form__label">Username</label>
<input type="text" id="InputUsername" name="InputUsername" onChange={handleUsernameChange} />
<div>
Expand Down

0 comments on commit 3a6c456

Please sign in to comment.