@extends('userlayout') @section('content')

Change Password

@csrf
@if ($errors->has('current_password')) {{ $errors->first('current_password') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif

Change Pin (Default pin on registration is 0000)

@csrf
@if ($errors->has('current_pin')) {{ $errors->first('current_pin') }} @endif
@if ($errors->has('pin')) {{ $errors->first('pin') }} @endif
@if ($errors->has('pin_confirmation')) {{ $errors->first('pin_confirmation') }} @endif

Two-Factor Security Option

Two-factor authentication is a method for protection your web account. When it is activated you need to enter not only your password, but also a special code. You can receive this code by in mobile app. Even if third person will find your password, then can't access with that code.

@if($user->fa_status==0) Disabled @else Active @endif

1) Install an authentication app on your device. Any app that supports the Time-based One-Time Password (TOTP) protocol should work.

2) Use the authenticator app to scan the barcode below.



3) Enter the code generated by the authenticator app

@csrf
@if($user->fa_status==0) @elseif($user->fa_status==1) @endif
@stop