admin add user, password
This commit is contained in:
31
resources/views/auth/reset-password.blade.php
Normal file
31
resources/views/auth/reset-password.blade.php
Normal file
@@ -0,0 +1,31 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<main class="page">
|
||||
<h1>Reset Kata Laluan</h1>
|
||||
<p class="subtitle">Masukkan password baru untuk akaun anda.</p>
|
||||
|
||||
@if ($errors->any())
|
||||
<div class="error">{{ $errors->first() }}</div>
|
||||
@endif
|
||||
|
||||
<form method="POST" action="{{ route('password.update') }}">
|
||||
@csrf
|
||||
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
|
||||
<label for="email">Emel</label>
|
||||
<input id="email" type="email" name="email" value="{{ old('email', $email) }}" required autofocus>
|
||||
|
||||
<label for="password">Password Baru</label>
|
||||
<input id="password" type="password" name="password" required>
|
||||
|
||||
<label for="password_confirmation">Sahkan Password Baru</label>
|
||||
<input id="password_confirmation" type="password" name="password_confirmation" required>
|
||||
|
||||
<div class="actions">
|
||||
<button type="submit">Reset Password</button>
|
||||
</div>
|
||||
</form>
|
||||
</main>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user