diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index cabf653a..0f50eb4d 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -31,20 +31,9 @@ To REMOVE: apt-get remove dotnet-runtime-3.0 (replace 3.0 with whatever version +todo: operations user's don't get personal user settings menu? -User / Contact self password administration and onboarding - Still support current method of admin setting login and password as an option - Keep the random generator for password only and expose it in the UI as a button beside the password field (magic wand?) - - Login name is fixed and set by internal staff only - Password only can be changed by the user - Can this be a bulk job for Users? - Because if hacked or import lots of users or migrate from v7 might want to do in bulk? - TTM v.next? - - -todo: User update / save password and login, if try to change login but don't give password it bombs with server error todo: if authenticated and click reset link sb logged out before reset form opens todo: suggest loginname be email address diff --git a/ayanova/src/App.vue b/ayanova/src/App.vue index c83faf44..e05be700 100644 --- a/ayanova/src/App.vue +++ b/ayanova/src/App.vue @@ -242,6 +242,7 @@ import gzconfirm from "./components/gzconfirm"; import gznotify from "./components/gznotify"; import openObjectHandler from "./api/open-object-handler"; import notifyPoll from "./api/notifypoll"; +import { processLogout } from "./api/authutil"; export default { components: { @@ -340,6 +341,9 @@ export default { } let isReset = toPath && toPath.includes("home-reset"); + if (isReset && vm.$store.state.authenticated) { + processLogout(); + } //redirect to login if not authenticated if (!vm.$store.state.authenticated && !isReset) {