Skip to content

Commit df19262

Browse files
committed
restore linked sign-in method copy
1 parent 352c0b5 commit df19262

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ Email subject to use for phone changed notification. Defaults to `Your phone num
605605

606606
`GOTRUE_MAILER_SUBJECTS_IDENTITY_LINKED_NOTIFICATION` - `string`
607607

608-
Email subject to use for identity linked notification. Defaults to `A sign-in method was linked to your account`.
608+
Email subject to use for identity linked notification. Defaults to `A new sign-in method was linked to your account`.
609609

610610
`GOTRUE_MAILER_SUBJECTS_IDENTITY_UNLINKED_NOTIFICATION` - `string`
611611

@@ -767,9 +767,9 @@ URL path to an email template to use when notifying a user that a sign-in method
767767
Default Content (if template is unavailable):
768768

769769
```html
770-
<h2>A sign-in method was linked</h2>
770+
<h2>A new sign-in method was linked</h2>
771771

772-
<p>Your {{ .Provider }} account was linked as a sign-in method for {{ .Email }}.</p>
772+
<p>Your {{ .Provider }} account was linked as a new sign-in method for {{ .Email }}.</p>
773773
<p>If you didn't make this change, contact support immediately.</p>
774774
```
775775

example.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ GOTRUE_MAILER_SUBJECTS_INVITE="You've been invited"
3838
GOTRUE_MAILER_SUBJECTS_PASSWORD_CHANGED_NOTIFICATION="Your password was changed"
3939
GOTRUE_MAILER_SUBJECTS_EMAIL_CHANGED_NOTIFICATION="Your email address was changed"
4040
GOTRUE_MAILER_SUBJECTS_PHONE_CHANGED_NOTIFICATION="Your phone number was changed"
41-
GOTRUE_MAILER_SUBJECTS_IDENTITY_LINKED_NOTIFICATION="A sign-in method was linked to your account"
41+
GOTRUE_MAILER_SUBJECTS_IDENTITY_LINKED_NOTIFICATION="A new sign-in method was linked to your account"
4242
GOTRUE_MAILER_SUBJECTS_IDENTITY_UNLINKED_NOTIFICATION="A sign-in method was removed from your account"
4343
GOTRUE_MAILER_SUBJECTS_MFA_FACTOR_ENROLLED_NOTIFICATION="A new verification method was added to your account"
4444
GOTRUE_MAILER_SUBJECTS_MFA_FACTOR_UNENROLLED_NOTIFICATION="A verification method was removed from your account"

internal/mailer/templatemailer/templatemailer.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ const defaultPhoneChangedNotificationMail = `<h2>Your phone number was changed</
8282
<p>If you didn't make this change, contact support immediately.</p>
8383
`
8484

85-
const defaultIdentityLinkedNotificationMail = `<h2>A sign-in method was linked</h2>
85+
const defaultIdentityLinkedNotificationMail = `<h2>A new sign-in method was linked</h2>
8686
87-
<p>Your {{ .Provider }} account was linked as a sign-in method for {{ .Email }}.</p>
87+
<p>Your {{ .Provider }} account was linked as a new sign-in method for {{ .Email }}.</p>
8888
<p>If you didn't make this change, contact support immediately.</p>
8989
`
9090

@@ -136,7 +136,7 @@ var (
136136
PasswordChangedNotification: "Your password was changed",
137137
EmailChangedNotification: "Your email address was changed",
138138
PhoneChangedNotification: "Your phone number was changed",
139-
IdentityLinkedNotification: "A sign-in method was linked to your account",
139+
IdentityLinkedNotification: "A new sign-in method was linked to your account",
140140
IdentityUnlinkedNotification: "A sign-in method was removed from your account",
141141
MFAFactorEnrolledNotification: "A new verification method was added to your account",
142142
MFAFactorUnenrolledNotification: "A verification method was removed from your account",

0 commit comments

Comments
 (0)