Allow an email to be passed to forgot-password page (#15436)

This commit is contained in:
Phillip Thelen 2025-05-07 18:46:47 +02:00 committed by GitHub
parent 1884c6c751
commit 29892ff5e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -726,7 +726,11 @@ export default {
},
mounted () {
this.forgotPassword = this.$route.path.startsWith('/forgot-password');
if (this.forgotPassword) {
if (this.$route.query.email) {
this.username = this.$route.query.email;
}
}
hello.init({
google: process.env.GOOGLE_CLIENT_ID, // eslint-disable-line
});