File tree 1 file changed +4
-2
lines changed
resources/views/livewire/pages/auth
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ public function register(): void
31
31
],
32
32
]);
33
33
34
+ $validated [' password' ] = Hash:: make ($validated [' password' ]);
35
+
34
36
$user = User:: query ()-> create ($validated );
35
37
36
38
$user -> assignRole (' user' );
@@ -171,13 +173,13 @@ class="italic text-gray-400 dark:text-gray-500">"The Pragmatic Programmer"</span
171
173
</div >
172
174
173
175
<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" >
175
177
<span class =" absolute inset-y-0 left-0 flex items-center pl-3" >
176
178
<x-untitledui-lock class =" size-5 text-green-500 group-hover:text-green-600"
177
179
aria-hidden =" true" />
178
180
</span >
179
181
{{ __ (' pages/auth.register.submit' ) } }
180
- </x-buttons .primary >
182
+ </x-buttons .submit >
181
183
</div >
182
184
</form >
183
185
@livewireRecaptcha
You can’t perform that action at this time.
0 commit comments