1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-19 17:52:45 +02:00
unleash.unleash/frontend/src
Nuno Góis 9f0de72e1a
fix: change password alert when password based login is disabled (#3856)
Accessing `/profile/change-password` directly would still allow you to
change your password on the UI when "password based login" is disabled.

This PR makes it so we show an alert in that scenario explaining why
you're not allowed to change your password.

We still allow users to change their password on the API level, but I
think that's fine. The UI should be consistent though.


![image](https://github.com/Unleash/unleash/assets/14320932/0406c773-7bc3-4519-83f8-9eddeb627e28)
2023-05-24 12:14:14 +01:00
..
__mocks__
assets refactor: rename demo img assets (#3795) 2023-05-17 08:47:19 +00:00
component fix: change password alert when password based login is disabled (#3856) 2023-05-24 12:14:14 +01:00
constants
contexts
hooks fix: add confirmation to disable password login (#3829) 2023-05-23 15:56:34 +01:00
interfaces feat: disable bulk toggles flag (#3827) 2023-05-22 13:31:31 +02:00
openapi
themes fix: interactive demo guide adjustments (#3747) 2023-05-11 18:01:08 +00:00
types
utils Fix/cr should activate disabled lag free (#3826) 2023-05-23 10:16:09 +03:00
index.tsx
setupTests.ts
vite-env.d.ts