File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
crates/handlers/src/graphql/mutations Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -822,6 +822,10 @@ impl UserMutations {
822822 }
823823
824824 /// 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.
825829 pub async fn resend_recovery_email (
826830 & self ,
827831 ctx : & Context < ' _ > ,
Original file line number Diff line number Diff line change @@ -805,6 +805,10 @@ type Mutation {
805805 setPasswordByRecovery (input : SetPasswordByRecoveryInput ! ): SetPasswordPayload !
806806 """
807807 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.
808812 """
809813 resendRecoveryEmail (
810814 input : ResendRecoveryEmailInput !
Original file line number Diff line number Diff line change @@ -493,7 +493,13 @@ export type Mutation = {
493493 lockUser : LockUserPayload ;
494494 /** Remove an email address */
495495 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+ */
497503 resendRecoveryEmail : ResendRecoveryEmailPayload ;
498504 /** Send a verification code for an email address */
499505 sendVerificationEmail : SendVerificationEmailPayload ;
You can’t perform that action at this time.
0 commit comments