fix registration

This commit is contained in:
Erik 2023-05-06 23:18:28 +03:00
parent ea1f566a1c
commit cfc8273a90
Signed by: Navy.gif
GPG Key ID: 2532FBBB61C65A68

View File

@ -52,8 +52,8 @@ const Register = () => {
{error && <p>{error}</p>}
<form className="registerForm">
<input autoComplete='off' placeholder='Username' required id='username' type='text' autoFocus />
<input autoComplete='off' placeholder='Password' required id='password' type='password' />
<input ref={usernameRef} autoComplete='off' placeholder='Username' required id='username' type='text' autoFocus />
<input ref={passwordRef} autoComplete='off' placeholder='Password' required id='password' type='password' />
<button className="button primary" onClick={submit}>Register</button>
</form>