mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Updated Lang::get to trans
This commit is contained in:
parent
c9c5ce6ee0
commit
85624205b4
|
@ -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…
Reference in a new issue