This commit is contained in:
@@ -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: if authenticated and click reset link sb logged out before reset form opens
|
||||||
|
|
||||||
todo: suggest loginname be email address
|
todo: suggest loginname be email address
|
||||||
|
|||||||
@@ -242,6 +242,7 @@ import gzconfirm from "./components/gzconfirm";
|
|||||||
import gznotify from "./components/gznotify";
|
import gznotify from "./components/gznotify";
|
||||||
import openObjectHandler from "./api/open-object-handler";
|
import openObjectHandler from "./api/open-object-handler";
|
||||||
import notifyPoll from "./api/notifypoll";
|
import notifyPoll from "./api/notifypoll";
|
||||||
|
import { processLogout } from "./api/authutil";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@@ -340,6 +341,9 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let isReset = toPath && toPath.includes("home-reset");
|
let isReset = toPath && toPath.includes("home-reset");
|
||||||
|
if (isReset && vm.$store.state.authenticated) {
|
||||||
|
processLogout();
|
||||||
|
}
|
||||||
|
|
||||||
//redirect to login if not authenticated
|
//redirect to login if not authenticated
|
||||||
if (!vm.$store.state.authenticated && !isReset) {
|
if (!vm.$store.state.authenticated && !isReset) {
|
||||||
|
|||||||
Reference in New Issue
Block a user