mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Removed debugging line
This commit is contained in:
parent
a8f9f5239c
commit
0c2800c7dd
|
@ -167,7 +167,6 @@ class ProfileController extends Controller
|
||||||
|
|
||||||
// First let's see if that option is enabled in the settings
|
// First let's see if that option is enabled in the settings
|
||||||
if (strpos(Setting::passwordComplexityRulesSaving('store'), 'disallow_same_pwd_as_user_fields')) {
|
if (strpos(Setting::passwordComplexityRulesSaving('store'), 'disallow_same_pwd_as_user_fields')) {
|
||||||
\Log::debug('disallow_same_pwd_as_user_fields is ON');
|
|
||||||
if (($request->input('password') == $user->username) ||
|
if (($request->input('password') == $user->username) ||
|
||||||
($request->input('password') == $user->email) ||
|
($request->input('password') == $user->email) ||
|
||||||
($request->input('password') == $user->first_name) ||
|
($request->input('password') == $user->first_name) ||
|
||||||
|
|
Loading…
Reference in a new issue