Removed debugging line
This commit is contained in:
parent
a8f9f5239c
commit
0c2800c7dd
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue