shez1983
6 months ago
1385
2
Requests

Local & Staging server behaving differently?

Posted 6 months ago by shez1983

I have docker environment so both local/staging are the same versions.

I have an account Settings page where you have blank password fields (one for old, one for new) they are not required so you can change other settings and click save.

On Local this works as expected (I.e. if u click save without changing anything or other settings) it succeeds

On staging this doesnt work as expected (I.e. if u click save without changing anything or other settings) it gives me an error (i.e. gets stuck by the Form Request)

Here is my form request

   'oldPassword' => [
                'nullable',
                'bail',
                'required_with:newPassword',
                new VerifyPassword()
            ],

            'newPassword' => [
                'required_with:oldPassword',
                new PasswordStrength(),
            ],```

Please sign in or create an account to participate in this conversation.