mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Add e-mail templates for password reset request.
This commit is contained in:
		
							
								
								
									
										8
									
								
								app/templates/auth/email/reset_password.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								app/templates/auth/email/reset_password.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
<p>Dear {{ user.username }},</p>
 | 
			
		||||
<p>To reset your password <a href="{{ url_for('auth.password_reset', token=token, _external=True) }}">click here</a>.</p>
 | 
			
		||||
<p>Alternatively, you can paste the following link in your browser's address bar:</p>
 | 
			
		||||
<p>{{ url_for('auth.password_reset', token=token, _external=True) }}</p>
 | 
			
		||||
<p>If you have not requested a password reset simply ignore this message.</p>
 | 
			
		||||
<p>Sincerely,</p>
 | 
			
		||||
<p>The Opaque Team</p>
 | 
			
		||||
<p><small>Note: replies to this email address are not monitored.</small></p>
 | 
			
		||||
							
								
								
									
										13
									
								
								app/templates/auth/email/reset_password.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								app/templates/auth/email/reset_password.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
Dear {{ user.username }},
 | 
			
		||||
 | 
			
		||||
To reset your password click on the following link:
 | 
			
		||||
 | 
			
		||||
{{ url_for('auth.password_reset', token=token, _external=True) }}
 | 
			
		||||
 | 
			
		||||
If you have not requested a password reset simply ignore this message.
 | 
			
		||||
 | 
			
		||||
Sincerely,
 | 
			
		||||
 | 
			
		||||
The Opaque Team
 | 
			
		||||
 | 
			
		||||
Note: replies to this email address are not monitored.
 | 
			
		||||
		Reference in New Issue
	
	Block a user