File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -31,28 +31,13 @@ admin
3131 . then ( ( link ) => {
3232 // Construct password reset email template, embed the link and send
3333 // using custom SMTP server.
34- return sendCustomPasswordResetEmail ( email , displayName , link ) ;
34+ return sendCustomPasswordResetEmail ( userEmail , displayName , link ) ;
3535 } )
3636 . catch ( ( error ) => {
3737 // Some error occurred.
3838 } ) ;
3939// [END password_reset_link]
4040
41- // [START email_verification_link]
42- // Admin SDK API to generate the password reset link.
43- const email = 'user@example.com' ;
44- admin
45- . auth ( )
46- . generatePasswordResetLink ( email , actionCodeSettings )
47- . then ( ( link ) => {
48- // Construct password reset email template, embed the link and send
49- // using custom SMTP server.
50- return sendCustomPasswordResetEmail ( email , displayName , link ) ;
51- } )
52- . catch ( ( error ) => {
53- // Some error occurred.
54- } ) ;
55-
5641// [START email_verification_link]
5742// Admin SDK API to generate the email verification link.
5843const useremail = 'user@example.com' ;
You can’t perform that action at this time.
0 commit comments