]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: Fix redirect after changing password
authorTiago Melo <tmelo@suse.com>
Fri, 22 May 2020 10:58:39 +0000 (10:58 +0000)
committerTiago Melo <tmelo@suse.com>
Fri, 22 May 2020 10:58:39 +0000 (10:58 +0000)
commit54ecfa90129989239aa66ab087cb1a8afe607735
tree0a9c36d3770124a1bee2942b858f152ae9f841d5
parentfaba12a7c8eebe4f4482600185a8b0037089b004
mgr/dashboard: Fix redirect after changing password

After the changes made to subscriptions, redirecting to the dummy logout page
no longer does anything.

So we removed the logout route and now redirect directly to the login page.

Fixes: https://tracker.ceph.com/issues/45651
Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/app-routing.module.ts
src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/auth.service.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/auth.service.ts