[#228] added target=_blank to the email links
This commit is contained in:
		
							parent
							
								
									88d8cec3d9
								
							
						
					
					
						commit
						086b992c7d
					
				| 
						 | 
					@ -16,8 +16,8 @@ const AdminPasswordResetBody = `
 | 
				
			||||||
	<p>Follow this link to reset your admin password for {{.AppName}}.</p>
 | 
						<p>Follow this link to reset your admin password for {{.AppName}}.</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	<p>
 | 
						<p>
 | 
				
			||||||
		<a class="btn" href="{{.ActionUrl}}">Reset password</a>
 | 
							<a class="btn" href="{{.ActionUrl}}" target="_blank" rel="noopener">Reset password</a>
 | 
				
			||||||
		<a class="fallback-link" href="{{.ActionUrl}}">{{.ActionUrl}}</a>
 | 
							<a class="fallback-link" href="{{.ActionUrl}}" target="_blank" rel="noopener">{{.ActionUrl}}</a>
 | 
				
			||||||
	</p>
 | 
						</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	<p><i>If you did not request to reset your password, please ignore this email and the link will expire on its own.</i></p>
 | 
						<p><i>If you did not request to reset your password, please ignore this email and the link will expire on its own.</i></p>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,8 +14,8 @@ const UserConfirmEmailChangeBody = `
 | 
				
			||||||
	<p>Hello,</p>
 | 
						<p>Hello,</p>
 | 
				
			||||||
	<p>Click on the button below to confirm your new email address.</p>
 | 
						<p>Click on the button below to confirm your new email address.</p>
 | 
				
			||||||
	<p>
 | 
						<p>
 | 
				
			||||||
		<a class="btn" href="{{.ActionUrl}}">Confirm new email</a>
 | 
							<a class="btn" href="{{.ActionUrl}}" target="_blank" rel="noopener">Confirm new email</a>
 | 
				
			||||||
		<a class="fallback-link" href="{{.ActionUrl}}">{{.ActionUrl}}</a>
 | 
							<a class="fallback-link" href="{{.ActionUrl}}" target="_blank" rel="noopener">{{.ActionUrl}}</a>
 | 
				
			||||||
	</p>
 | 
						</p>
 | 
				
			||||||
	<p><i>If you didn’t ask to change your email address, you can ignore this email.</i></p>
 | 
						<p><i>If you didn’t ask to change your email address, you can ignore this email.</i></p>
 | 
				
			||||||
	<p>
 | 
						<p>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,8 +14,8 @@ const UserPasswordResetBody = `
 | 
				
			||||||
	<p>Hello,</p>
 | 
						<p>Hello,</p>
 | 
				
			||||||
	<p>Click on the button below to reset your password.</p>
 | 
						<p>Click on the button below to reset your password.</p>
 | 
				
			||||||
	<p>
 | 
						<p>
 | 
				
			||||||
		<a class="btn" href="{{.ActionUrl}}">Reset password</a>
 | 
							<a class="btn" href="{{.ActionUrl}}" target="_blank" rel="noopener">Reset password</a>
 | 
				
			||||||
		<a class="fallback-link" href="{{.ActionUrl}}">{{.ActionUrl}}</a>
 | 
							<a class="fallback-link" href="{{.ActionUrl}}" target="_blank" rel="noopener">{{.ActionUrl}}</a>
 | 
				
			||||||
	</p>
 | 
						</p>
 | 
				
			||||||
	<p><i>If you didn’t ask to reset your password, you can ignore this email.</i></p>
 | 
						<p><i>If you didn’t ask to reset your password, you can ignore this email.</i></p>
 | 
				
			||||||
	<p>
 | 
						<p>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,8 +15,8 @@ const UserVerificationBody = `
 | 
				
			||||||
	<p>Thank you for joining us at {{.AppName}}.</p>
 | 
						<p>Thank you for joining us at {{.AppName}}.</p>
 | 
				
			||||||
	<p>Click on the button below to verify your email address.</p>
 | 
						<p>Click on the button below to verify your email address.</p>
 | 
				
			||||||
	<p>
 | 
						<p>
 | 
				
			||||||
		<a class="btn" href="{{.ActionUrl}}">Verify</a>
 | 
							<a class="btn" href="{{.ActionUrl}}" target="_blank" rel="noopener">Verify</a>
 | 
				
			||||||
		<a class="fallback-link" href="{{.ActionUrl}}">{{.ActionUrl}}</a>
 | 
							<a class="fallback-link" href="{{.ActionUrl}}" target="_blank" rel="noopener">{{.ActionUrl}}</a>
 | 
				
			||||||
	</p>
 | 
						</p>
 | 
				
			||||||
	<p>
 | 
						<p>
 | 
				
			||||||
		Thanks,<br/>
 | 
							Thanks,<br/>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue