feat: set admin name when self hosted init (#14146)

fix #14134
This commit is contained in:
DarkSky
2025-12-23 23:38:34 +08:00
committed by GitHub
parent a1f1c61a9f
commit 4b721dffe0
3 changed files with 4 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ export const Form = () => {
const createResponse = await affineFetch('/api/setup/create-admin-user', {
method: 'POST',
body: JSON.stringify({
name: nameValue,
email: emailValue,
password: passwordValue,
}),