fix registration
This commit is contained in:
parent
ea1f566a1c
commit
cfc8273a90
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user