mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Remove OTP form from registration page
This commit is contained in:
parent
3197b5f05c
commit
e3f1520ba9
@ -32,29 +32,6 @@
|
||||
</form>
|
||||
@endif
|
||||
|
||||
@if($state['otp_form'])
|
||||
<form wire:submit="handleOtp" class="space-y-3">
|
||||
@csrf
|
||||
|
||||
<div>
|
||||
<span class="input-label">{{ ctrans('texts.code') }}</span>
|
||||
<input wire:model="otp" type="text" class="input w-full" />
|
||||
|
||||
@error('otp')
|
||||
<p class="validation validation-fail block w-full" role="alert">
|
||||
{{ $message }}
|
||||
</p>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<button
|
||||
type="submit"
|
||||
class="button button-block bg-primary text-white mt-4">
|
||||
{{ ctrans('texts.next') }}
|
||||
</button>
|
||||
</form>
|
||||
@endif
|
||||
|
||||
@if($state['register_form'])
|
||||
<form wire:submit="register(Object.fromEntries(new FormData($event.target)))" class="space-y-3">
|
||||
@csrf
|
||||
|
Loading…
x
Reference in New Issue
Block a user