fix: register view
This commit is contained in:
parent
f32d38287a
commit
26a9152756
@ -1,10 +1,11 @@
|
||||
import { client, navigateTo } from "../../index.js";
|
||||
import { clear, fill_errors } from "../../utils/formUtils.js";
|
||||
import AbstractNonAuthentifiedView from "../AbstractNonAuthentified.js";
|
||||
|
||||
async function register()
|
||||
{
|
||||
let username = document.getElementById("username").value;
|
||||
let password = document.getElementById("password").value;
|
||||
let username = document.getElementById("username-input").value;
|
||||
let password = document.getElementById("password-input").value;
|
||||
|
||||
let response_data = await client.account.create(username, password);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user