Users able to change password

This commit is contained in:
Anders
2020-07-01 10:13:49 +02:00
parent ec2479f0b4
commit 03b7f4236a
5 changed files with 39 additions and 5 deletions
@@ -7,7 +7,9 @@
@section("content")
<main>
<h1 class="text-center sde-blue mt-0">Konto</h1>
<form action="">
<form method="post" action="{{ route("users.update", ['user' => Auth::user()]) }}">
@csrf
@method("put")
<span>Navn:</span>
<input type="text" name="name" id="name" value="{{ Auth::user()->name_first . " " . Auth::user()->name_last }}" disabled>
<span>Email:</span>