File tree 3 files changed +15
-1
lines changed
crates/handlers/src/graphql/mutations
3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -822,6 +822,10 @@ impl UserMutations {
822
822
}
823
823
824
824
/// Resend a user recovery email
825
+ ///
826
+ /// This is used when a user opens a recovery link that has expired. In this
827
+ /// case, we display a link for them to get a new recovery email, which
828
+ /// calls this mutation.
825
829
pub async fn resend_recovery_email (
826
830
& self ,
827
831
ctx : & Context < ' _ > ,
Original file line number Diff line number Diff line change @@ -805,6 +805,10 @@ type Mutation {
805
805
setPasswordByRecovery (input : SetPasswordByRecoveryInput ! ): SetPasswordPayload !
806
806
"""
807
807
Resend a user recovery email
808
+
809
+ This is used when a user opens a recovery link that has expired. In this
810
+ case, we display a link for them to get a new recovery email, which
811
+ calls this mutation.
808
812
"""
809
813
resendRecoveryEmail (
810
814
input : ResendRecoveryEmailInput !
Original file line number Diff line number Diff line change @@ -493,7 +493,13 @@ export type Mutation = {
493
493
lockUser : LockUserPayload ;
494
494
/** Remove an email address */
495
495
removeEmail : RemoveEmailPayload ;
496
- /** Resend a user recovery email */
496
+ /**
497
+ * Resend a user recovery email
498
+ *
499
+ * This is used when a user opens a recovery link that has expired. In this
500
+ * case, we display a link for them to get a new recovery email, which
501
+ * calls this mutation.
502
+ */
497
503
resendRecoveryEmail : ResendRecoveryEmailPayload ;
498
504
/** Send a verification code for an email address */
499
505
sendVerificationEmail : SendVerificationEmailPayload ;
You can’t perform that action at this time.
0 commit comments