This commit is contained in:
2020-11-19 23:38:49 +00:00
parent 5dbda2ce09
commit 5aec31f3c3
2 changed files with 5 additions and 12 deletions

View File

@@ -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

View File

@@ -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) {