Skip to content

Commit 4dbee6e

Browse files
cybersoldattechStevyMarlinodependabot[bot]mckenziearts
authored
MEP (#305)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Endaman Stevy <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Stevy Endaman <[email protected]> Co-authored-by: Arthur Monney <[email protected]>
1 parent 5893780 commit 4dbee6e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

resources/views/livewire/pages/auth/register.blade.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ public function register(): void
3131
],
3232
]);
3333
34+
$validated['password'] = Hash::make($validated['password']);
35+
3436
$user = User::query()->create($validated);
3537
3638
$user->assignRole('user');
@@ -171,13 +173,13 @@ class="italic text-gray-400 dark:text-gray-500">"The Pragmatic Programmer"</span
171173
</div>
172174

173175
<div>
174-
<x-buttons.primary type="submit" class="group w-full relative">
176+
<x-buttons.submit wire:loading.attr="data-loading" class="group w-full relative">
175177
<span class="absolute inset-y-0 left-0 flex items-center pl-3">
176178
<x-untitledui-lock class="size-5 text-green-500 group-hover:text-green-600"
177179
aria-hidden="true" />
178180
</span>
179181
{{ __('pages/auth.register.submit') }}
180-
</x-buttons.primary>
182+
</x-buttons.submit>
181183
</div>
182184
</form>
183185
@livewireRecaptcha

0 commit comments

Comments
 (0)