From 85624205b46b54d1967b1d0eef20b7117c6cc498 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 2 Nov 2017 17:12:51 -0700 Subject: [PATCH] Updated Lang::get to trans --- app/Http/Controllers/ProfileController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index 97d605425..c76c5f9cf 100755 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -108,12 +108,12 @@ class ProfileController extends Controller { if (config('app.lock_passwords')) { - return redirect()->route('account.password.index')->with('error', Lang::get('admin/users/table.lock_passwords')); + return redirect()->route('account.password.index')->with('error', trans('admin/users/table.lock_passwords')); } $user = Auth::user(); if ($user->ldap_import=='1') { - return redirect()->route('account.password.index')->with('error', Lang::get('admin/users/message.error.password_ldap')); + return redirect()->route('account.password.index')->with('error', trans('admin/users/message.error.password_ldap')); } $rules = array(