]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix visibility of pwdExpirationDate field 32703/head
authorTatjana Dehler <tdehler@suse.com>
Fri, 17 Jan 2020 14:54:05 +0000 (15:54 +0100)
committerTatjana Dehler <tdehler@suse.com>
Tue, 21 Jan 2020 13:21:03 +0000 (14:21 +0100)
commita581ab0f1a0883236802ea8add585383ef80ace4
tree98f919caa90590220d09d1106da4f26b0545cba0
parentaff8f96c30d4bdc5646b86dd8fb6512cfae0ad5e
mgr/dashboard: fix visibility of pwdExpirationDate field

Show the 'pwdExpirationDate' form field only if SSO is not enabled.
Also show a helper message if 'pwdExpirationSpan' is '0' to let
the admin know that the password will only expire once.

Fixes: https://tracker.ceph.com/issues/43523
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.ts