Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
ajustes
Browse files Browse the repository at this point in the history
  • Loading branch information
rats4final committed Dec 13, 2022
1 parent acbcd26 commit 959df75
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/Actions/Fortify/CreateNewUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace App\Actions\Fortify;

use App\Models\User;
use App\Models\Persona;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Illuminate\Validation\Rule;
Expand Down Expand Up @@ -32,7 +33,7 @@ public function create(array $input)
'username' => ['required', 'string', 'max:20'],
'password' => $this->passwordRules(),
])->validate();

//TODO: Terminar esto de las personas
return User::create([
//'name' => $input['name'],
'email' => $input['email'],
Expand Down
2 changes: 1 addition & 1 deletion resources/views/admin/Citas/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
});
});
$("#select1").change(function () {
//un momento, esto es jquery!?
if ($(this).data('options') == undefined) {
$(this).data('options', $('#select2 option').clone());
}
Expand Down
5 changes: 4 additions & 1 deletion resources/views/components/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@
<a href="#"><span class="fa fa-support mr-3"></span> Support</a>
</li>
<li>
<a href="#"><span class="fa fa-sign-out mr-3"></span> Salir</a>
<form action="{{ route('logout') }}" method="POST">
@csrf
<input type="submit" value="Salir">
</form>
</li>
</ul>

Expand Down

0 comments on commit 959df75

Please sign in to comment.