File "changepassword.blade.php"

Full Path: /home/fundopuh/trader.fxex.org/resources/views/admin/Profile/changepassword.blade.php
File size: 1.34 KB
MIME-type: text/plain
Charset: utf-8

@extends('layouts.app')
@section('content')
    <div class="mt-2 mb-5">
        <h1 class="title1 ">Change Your password</h1> <br> <br>
    </div>
    <x-admin.alert />
    <div class="mb-5 row">
        <div class="col-lg-8 offset-lg-2 card p-4  shadow">
            <form method="post" action="{{ route('adminupdatepass') }}">
                <div class="">
                    <h5 class=" ">Old Password</h5>
                    <input type="password" name="old_password" class="form-control  " required>
                </div>
                <div class="">
                    <h5 class=" ">New Password* </h5>
                    <input type="password" name="password" class="form-control  " required>
                </div>
                <div class="">
                    <h5 class=" ">Confirm Password</h5>
                    <input type="password" name="password_confirmation" class="form-control  " required>
                </div> <br>
                <input type="submit" class="btn btn-primary" value="Submit">

                <input type="hidden" name="id" value="{{ Auth('admin')->User()->id }}">
                <input type="hidden" name="current_password" value="{{ Auth('admin')->User()->password }}">
                <input type="hidden" name="_token" value="{{ csrf_token() }}"><br />
            </form>
        </div>
    </div>
@endsection