Merge pull request #1866 from ThomasChr/logintitle

change page title to " - Login" when on Login Form
This commit is contained in:
Louis Lam
2022-09-12 18:48:05 +08:00
committed by GitHub

View File

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