Merge pull request #1866 from ThomasChr/logintitle

change page title to " - Login" when on Login Form
pull/2076/head
Louis Lam 2 years ago committed by GitHub
commit 08fdbeaa75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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