@extends('digitalmenu::layouts.app') @section('title', 'Change Password | Merchant Central') @section('content')
Security

{{ $hasPassword ? 'Change Password' : 'Set Password' }}

@if ($hasPassword) Update your account password. You'll remain logged in after changing it. @else Your account uses social login. Set a password to also enable email & password sign-in. @endif

@if ($errors->any())
error
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{!! csrf_field() !!} {{-- Current Password (hidden for social-only accounts) --}} @if ($hasPassword)
@if ($errors->has('current_password'))

{{ $errors->first('current_password') }}

@endif
@endif {{-- New Password --}}
radio_button_unchecked 6+ characters
radio_button_unchecked Uppercase letter
radio_button_unchecked Number
radio_button_unchecked Special character
@if ($errors->has('password'))

{{ $errors->first('password') }}

@endif
{{-- Confirm New Password --}}
@endsection