litmuschaos / litmus

Litmus helps SREs and developers practice chaos engineering in a Cloud-native way. Chaos experiments are published at the ChaosHub (https://hub.litmuschaos.io). Community notes is at https://hackmd.io/a4Zu_sH4TZGeih-xCimi3Q
https://litmuschaos.io
Apache License 2.0
4.39k stars 688 forks source link

Comment response invalidcredentails status has changed from 400 to 401 #4866

Closed kwx4957 closed 3 weeks ago

kwx4957 commented 3 weeks ago

Proposed changes

response invalidCredentials status that does not match has changed from 400 to 401

https://github.com/litmuschaos/litmus/blob/37fae3a4577ef80fb7d8ab26b67fd6059b75c702/chaoscenter/authentication/api/handlers/rest/user_handlers.go#L266

https://github.com/litmuschaos/litmus/blob/37fae3a4577ef80fb7d8ab26b67fd6059b75c702/chaoscenter/authentication/pkg/utils/errors.go#L32

Types of changes

What types of changes does your code introduce to Litmus? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.