From 5aec31f3c3d7ab4a7668e1d37cb7c22c36a5e882 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 19 Nov 2020 23:38:49 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 13 +------------ ayanova/src/App.vue | 4 ++++ 2 files changed, 5 insertions(+), 12 deletions(-) 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) {