@extends('layout.auth') @section('form-section')

@if(session()->has('true')) Reset Your password @else Forgot your Account @endif

{{ csrf_field() }} @if(session()->has('message'))
{{ session('message') }}
@endif @if(session()->has('data')) @php($data = json_decode(session('data')))
@if ($errors->has('sec_answer')) {{ $errors->first('sec_answer') }} @endif
@elseif(session()->has('true')) @include('auth.passwords.reset') @else
@if ($errors->has('username')) {{ $errors->first('username') }} @endif
@endif
@endsection