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
commit 08fdbeaa75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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