add bearer tokens for functions
This commit is contained in:
@@ -256,9 +256,12 @@ export default function RegisterForm() {
|
||||
<ConfirmMailModalWindow userId={state?.userId} email={formState?.previousState?.email} onClose={() => { setShowMailConfirmWindow(false) }} />
|
||||
</div>
|
||||
)}
|
||||
<form action={(e) => {
|
||||
formAction(e);
|
||||
}}>
|
||||
<form
|
||||
action={(e) => {
|
||||
formAction(e);
|
||||
}}
|
||||
autoComplete="off"
|
||||
>
|
||||
<div className={`${styles['form-switcher']}`}>
|
||||
<button
|
||||
className={`${styles['form-switcher-button']} ${accountType === 'b2c' ? styles['active'] : ''}`}
|
||||
@@ -432,6 +435,7 @@ export default function RegisterForm() {
|
||||
e.target.value = e.target.value.toLocaleLowerCase();
|
||||
onChangeHandler(e)
|
||||
}}
|
||||
autoComplete="off"
|
||||
/>
|
||||
{formState?.error?.email && (
|
||||
<p className="text-sm text-red-500">
|
||||
@@ -486,6 +490,7 @@ export default function RegisterForm() {
|
||||
placeholder={t('password-placeholder')}
|
||||
defaultValue={formState?.previousState?.password ? formState?.previousState?.password : ''}
|
||||
onChange={onChangeHandler}
|
||||
autoComplete="off"
|
||||
/>
|
||||
<button
|
||||
onClick={() => {
|
||||
|
||||
Reference in New Issue
Block a user