add option to prompt for a validation password when initializing admin user (#2302)

This commit is contained in:
Chenhe Gu 2024-02-01 15:03:56 +08:00 • committed by GitHub
commit 09acf215f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 210 additions and 12 deletions

22
web/app/init/page.tsx Normal file
View file

@ -0,0 +1,22 @@
import React from 'react'
import classNames from 'classnames'
import style from '../signin/page.module.css'
import InitPasswordPopup from './InitPasswordPopup'
const Install = () => {
return (
<div className={classNames(
style.background,
'flex w-full min-h-screen',
'p-4 lg:p-8',
'gap-x-20',
'justify-center lg:justify-start',
)}>
<div className="block m-auto w-96">
<InitPasswordPopup />
</div>
</div>
)
}
export default Install