change page title to " - Login" when on Login Form

pull/1866/head
Thomas Christlieb 3 years ago
parent 624678826d
commit 42e30de209

@ -54,6 +54,15 @@ export default {
tokenRequired: false,
};
},
mounted() {
document.title += " - Login";
},
unmounted() {
document.title = document.title.replace(" - Login", "");
},
methods: {
/** Submit the user details and attempt to log in */
submit() {

Loading…
Cancel
Save