Prompt: Make sure registration/login works. At the moment I try to login and register, but see no progress, form is getting reset, I am not being redirected anywhere and I don't see any error messages on the UI. I should be moved to dashboard and be logged in after registration and log in if it was successsfull and be presented with an error message if registration or login is unsuccessful.
Session Total cost: $6.58 (costs may be inaccurate due to usage of unknown models) Total duration (API): 57m 34s Total duration (wall): 1h 27m 51s Total code changes: 3043 lines added, 209 lines removed Usage by model: qwen/qwen3.6-35b-a3b: 356.4k input, 80.7k output, 14.1m cache read, 0 cache write ($6.51) claude-haiku-4-5: 9.4k input, 13.3k output, 8.3k cache read, 0 cache write ($0.0767) Runtime: llamacpp Model: Qwen 3.6 35B A3B Q4 K M Coding Agent: ClaudeCode
This commit is contained in:
@@ -330,19 +330,25 @@
|
||||
</div>
|
||||
|
||||
<div class="auth-form__body">
|
||||
@if ($errors->any())
|
||||
<div class="auth-info-banner" style="background: #fde8e8;">
|
||||
{{ $errors->first() }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form method="POST" action="{{ route('login.post') }}">
|
||||
@csrf
|
||||
|
||||
<!-- Email -->
|
||||
<div class="form-control">
|
||||
<label for="email">Email</label>
|
||||
<input type="email" id="email" name="email" placeholder="you@company.com" value="{{ old('email') }}" required autocomplete="email" autofocus>
|
||||
<input type="email" id="email" name="email" placeholder="you@company.com" value="{{ old('email') }}" required autocomplete="email" autofocus class="{{ $errors->has('email') ? 'error' : '' }}">
|
||||
</div>
|
||||
|
||||
<!-- Password -->
|
||||
<div class="form-control">
|
||||
<label for="password">Password</label>
|
||||
<input type="password" id="password" name="password" placeholder="Enter your password" required autocomplete="current-password">
|
||||
<input type="password" id="password" name="password" placeholder="Enter your password" required autocomplete="current-password" class="{{ $errors->has('password') ? 'error' : '' }}">
|
||||
</div>
|
||||
|
||||
<!-- Remember me -->
|
||||
|
||||
@@ -299,31 +299,43 @@
|
||||
</div>
|
||||
|
||||
<div class="auth-form__body">
|
||||
@if ($errors->any())
|
||||
<div class="auth-info-banner" style="background: #fde8e8;">
|
||||
{{ $errors->first() }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form method="POST" action="{{ route('register.post') }}">
|
||||
@csrf
|
||||
|
||||
<!-- First Name -->
|
||||
<div class="form-control">
|
||||
<label for="first_name">First Name</label>
|
||||
<input type="text" id="first_name" name="first_name" placeholder="John" value="{{ old('first_name') }}" required autocomplete="given-name">
|
||||
<input type="text" id="first_name" name="first_name" placeholder="John" value="{{ old('first_name') }}" required autocomplete="given-name" class="{{ $errors->has('first_name') ? 'error' : '' }}">
|
||||
</div>
|
||||
|
||||
<!-- Last Name -->
|
||||
<div class="form-control">
|
||||
<label for="last_name">Last Name</label>
|
||||
<input type="text" id="last_name" name="last_name" placeholder="Doe" value="{{ old('last_name') }}" required autocomplete="family-name">
|
||||
<input type="text" id="last_name" name="last_name" placeholder="Doe" value="{{ old('last_name') }}" required autocomplete="family-name" class="{{ $errors->has('last_name') ? 'error' : '' }}">
|
||||
</div>
|
||||
|
||||
<!-- Email -->
|
||||
<div class="form-control">
|
||||
<label for="email">Email</label>
|
||||
<input type="email" id="email" name="email" placeholder="you@company.com" value="{{ old('email') }}" required autocomplete="email">
|
||||
<input type="email" id="email" name="email" placeholder="you@company.com" value="{{ old('email') }}" required autocomplete="email" class="{{ $errors->has('email') ? 'error' : '' }}">
|
||||
</div>
|
||||
|
||||
<!-- Password -->
|
||||
<div class="form-control">
|
||||
<label for="password">Password</label>
|
||||
<input type="password" id="password" name="password" placeholder="Create a password" required autocomplete="new-password">
|
||||
<input type="password" id="password" name="password" placeholder="Create a password" required autocomplete="new-password" minlength="8" class="{{ $errors->has('password') ? 'error' : '' }}">
|
||||
</div>
|
||||
|
||||
<!-- Confirm Password -->
|
||||
<div class="form-control">
|
||||
<label for="password_confirmation">Confirm Password</label>
|
||||
<input type="password" id="password_confirmation" name="password_confirmation" placeholder="Confirm your password" required autocomplete="new-password" minlength="8" class="{{ $errors->has('password_confirmation') ? 'error' : '' }}">
|
||||
</div>
|
||||
|
||||
<!-- Submit -->
|
||||
|
||||
Reference in New Issue
Block a user