mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Add email confirmation for nuew users
This commit is contained in:
		
							
								
								
									
										8
									
								
								app/templates/auth/email/confirm.html.j2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								app/templates/auth/email/confirm.html.j2
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
<p>Dear {{ user.username }},</p>
 | 
			
		||||
<p>Welcome to <b>Opaque</b>!</p>
 | 
			
		||||
<p>To confirm your account please <a href="{{ url_for('auth.confirm', 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.confirm', token=token, _external=True) }}</p>
 | 
			
		||||
<p>Sincerely,</p>
 | 
			
		||||
<p>The Opaque Team</p>
 | 
			
		||||
<p><small>Note: replies to this email address are not monitored.</small></p>
 | 
			
		||||
							
								
								
									
										11
									
								
								app/templates/auth/email/confirm.txt.j2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								app/templates/auth/email/confirm.txt.j2
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
Dear {{ user.username }},
 | 
			
		||||
 | 
			
		||||
Welcome to Opaque!
 | 
			
		||||
 | 
			
		||||
To confirm your account please click on the following link:
 | 
			
		||||
{{ url_for('auth.confirm', token=token, _external=True) }}
 | 
			
		||||
 | 
			
		||||
Sincerely,
 | 
			
		||||
The Opaque Team
 | 
			
		||||
 | 
			
		||||
Note: replies to this email address are not monitored.
 | 
			
		||||
		Reference in New Issue
	
	Block a user