Updated Lang::get to trans
This commit is contained in:
parent
c9c5ce6ee0
commit
85624205b4
1 changed files with 2 additions and 2 deletions
|
@ -108,12 +108,12 @@ class ProfileController extends Controller
|
||||||
{
|
{
|
||||||
|
|
||||||
if (config('app.lock_passwords')) {
|
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();
|
$user = Auth::user();
|
||||||
if ($user->ldap_import=='1') {
|
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(
|
$rules = array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue