mirror of
				https://github.com/optim-enterprises-bv/Mailu.git
				synced 2025-11-01 02:27:47 +00:00 
			
		
		
		
	The if needs to be inside the block
(cherry picked from commit d131d863ba)
			
			
This commit is contained in:
		 Florent Daigniere
					Florent Daigniere
				
			
				
					committed by
					
						 Mergify
						Mergify
					
				
			
			
				
	
			
			
			 Mergify
						Mergify
					
				
			
						parent
						
							da5fb17340
						
					
				
				
					commit
					807af61a7e
				
			| @@ -8,11 +8,11 @@ | |||||||
| {% trans %}to access the administration tools{% endtrans %} | {% trans %}to access the administration tools{% endtrans %} | ||||||
| {%- endblock %} | {%- endblock %} | ||||||
|  |  | ||||||
| {% if config["SESSION_COOKIE_SECURE"] %} |  | ||||||
| {%- block content %} | {%- block content %} | ||||||
|  | {% if config["SESSION_COOKIE_SECURE"] %} | ||||||
| <div id="login_needs_https" class="alert alert-danger d-none" role="alert"> | <div id="login_needs_https" class="alert alert-danger d-none" role="alert"> | ||||||
| {% trans %}The login form has been disabled as <b>SESSION_COOKIE_SECURE</b> is on but you are accessing Mailu over HTTP.{% endtrans %} | {% trans %}The login form has been disabled as <b>SESSION_COOKIE_SECURE</b> is on but you are accessing Mailu over HTTP.{% endtrans %} | ||||||
| </div> | </div> | ||||||
|  | {% endif %} | ||||||
| {{ super() }} | {{ super() }} | ||||||
| {%- endblock %} | {%- endblock %} | ||||||
| {% endif %} |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user