File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 11<script >
22import { mapMutations , mapActions } from " vuex" ;
33import { GirderAuthentication } from " @girder/components/src" ;
4+ import { GIRDER_URL } from " ../constants" ;
45
56export default {
67 name: " Login" ,
@@ -16,7 +17,10 @@ export default {
1617 },
1718 methods: {
1819 ... mapMutations ([" setCurrentUser" , " setSessionStatus" ]),
19- ... mapActions ([" startLoginMonitor" ])
20+ ... mapActions ([" startLoginMonitor" ]),
21+ forgotPassword () {
22+ window .location .href = ` ${ GIRDER_URL } #?dialog=resetpassword` ;
23+ }
2024 },
2125 watch: {
2226 " girderRest.user" (user) {
@@ -34,7 +38,7 @@ export default {
3438<template >
3539 <v-container >
3640 <v-dialog :value =" userDialog" persistent max-width =" 500px" >
37- <GirderAuthentication :register =" true" />
41+ <GirderAuthentication :register =" true" @forgotpassword = " forgotPassword " />
3842 </v-dialog >
3943 </v-container >
4044</template >
You can’t perform that action at this time.
0 commit comments