mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	templates: Move remote_realm_server_mismatch_error.html to zerver.
This is rendered by regular self-hosted servers, so doesn't belong in zilencer.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							fc247cba3f
						
					
				
				
					commit
					100cef9186
				
			@@ -189,7 +189,7 @@ def self_hosting_auth_redirect_endpoint(
 | 
				
			|||||||
    except ResourceNotFoundError:
 | 
					    except ResourceNotFoundError:
 | 
				
			||||||
        return render(request, "404.html", status=404)
 | 
					        return render(request, "404.html", status=404)
 | 
				
			||||||
    except RemoteRealmServerMismatchError:
 | 
					    except RemoteRealmServerMismatchError:
 | 
				
			||||||
        return render(request, "zilencer/remote_realm_server_mismatch_error.html", status=403)
 | 
					        return render(request, "zerver/remote_realm_server_mismatch_error.html", status=403)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return HttpResponseRedirect(redirect_url)
 | 
					    return HttpResponseRedirect(redirect_url)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user