Added message when seller is blocked

This commit is contained in:
Prashant Singh 2019-06-13 06:37:16 +05:30
parent c86a699f69
commit 23467d9389
2 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,8 @@ class SessionController extends Controller
if (auth()->guard('customer')->user()->status == 0) {
auth()->guard('customer')->logout();
session()->flash('warning', trans('shop::app.customer.login-form.not-activated'));
return redirect()->back();
}

View File

@ -135,6 +135,7 @@ return [
'footer' => '© Copyright :year Webkul Software, All rights reserved',
'invalid-creds' => 'Please Check Your Credentials And Try Again',
'verify-first' => 'Verify Your Email Account First',
'not-activated' => 'Your activation seeks admin approval',
'resend-verification' => 'Resend Verification Mail Again'
],