File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
resources/views/livewire/pages/auth Expand file tree Collapse file tree 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
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
You can’t perform that action at this time.
0 commit comments