From 04c2d6ee1854628f0f441c5acf1c3a09e4dacdec Mon Sep 17 00:00:00 2001
From: Flavio Tarsetti <flavio.tarsetti@idiap.ch>
Date: Wed, 16 Aug 2017 16:50:34 +0200
Subject: [PATCH] [accounts] patched for superusers not to have the management
 account as normal user in profile

---
 beat/web/accounts/templates/accounts/settings.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/beat/web/accounts/templates/accounts/settings.html b/beat/web/accounts/templates/accounts/settings.html
index ef92fd367..6f56ad9e4 100644
--- a/beat/web/accounts/templates/accounts/settings.html
+++ b/beat/web/accounts/templates/accounts/settings.html
@@ -196,7 +196,7 @@
   </div>
 </div>
 
-{% if not user.profile.is_godfather %}
+{% if not user.profile.is_godfather and not user.is_superuser %}
 
 <div class="row">
 
-- 
GitLab