Skip to content

Commit bdbe6d8

Browse files
Merge pull request #238 from supertokens/email-template-fix
refactor: Email template fix
2 parents f2bd8dc + 528c137 commit bdbe6d8

File tree

5 files changed

+6
-37
lines changed

5 files changed

+6
-37
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10-
## [0.10.0]
10+
## [0.10.1] - 2023-02-06
11+
12+
- Email template updates
13+
14+
## [0.10.0] - 2023-02-02
1115

1216
### Fixes
1317
- Fixes issue with go-fiber example, where updating accessTokenPayload from user defined endpoint doesn't reflect in the response cookies.

recipe/emailpassword/emaildelivery/smtpService/passwordReset.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -507,13 +507,6 @@ const passwordResetTemplate = `<!doctype html>
507507
text-decoration: underline;
508508
}
509509
510-
@media only screen and (min-width:768px) {
511-
.templateContainer {
512-
width: 600px !important;
513-
}
514-
515-
}
516-
517510
@media only screen and (max-width: 480px) {
518511
519512
body,

recipe/emailverification/emaildelivery/smtpService/emailVerify.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -507,13 +507,6 @@ const emailVerificationTemplate = `<!doctype html>
507507
text-decoration: underline;
508508
}
509509
510-
@media only screen and (min-width:768px) {
511-
.templateContainer {
512-
width: 600px !important;
513-
}
514-
515-
}
516-
517510
@media only screen and (max-width: 480px) {
518511
519512
body,

recipe/passwordless/emaildelivery/smtpService/passwordlessLogin.go

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -507,13 +507,6 @@ const magicLinkAndOtpLoginTemplate = `<!doctype html>
507507
text-decoration: underline;
508508
}
509509
510-
@media only screen and (min-width:768px) {
511-
.templateContainer {
512-
width: 600px !important;
513-
}
514-
515-
}
516-
517510
@media only screen and (max-width: 480px) {
518511
519512
body,
@@ -1494,13 +1487,6 @@ const magicLinkLoginTemplate = `<!doctype html>
14941487
text-decoration: underline;
14951488
}
14961489
1497-
@media only screen and (min-width:768px) {
1498-
.templateContainer {
1499-
width: 600px !important;
1500-
}
1501-
1502-
}
1503-
15041490
@media only screen and (max-width: 480px) {
15051491
15061492
body,
@@ -2420,13 +2406,6 @@ const otpLoginTemplate = `<!doctype html>
24202406
text-decoration: underline;
24212407
}
24222408
2423-
@media only screen and (min-width:768px) {
2424-
.templateContainer {
2425-
width: 600px !important;
2426-
}
2427-
2428-
}
2429-
24302409
@media only screen and (max-width: 480px) {
24312410
24322411
body,

supertokens/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const (
2121
)
2222

2323
// VERSION current version of the lib
24-
const VERSION = "0.10.0"
24+
const VERSION = "0.10.1"
2525

2626
var (
2727
cdiSupported = []string{"2.8", "2.9", "2.10", "2.11", "2.12", "2.13", "2.14", "2.15"}

0 commit comments

Comments
 (0)