@ -128,7 +128,7 @@ def spoj_k_organizatorum_osoby(apps, scema_editor):
raise EndException
# Hledáme podle e-mailu
osoby = Osoba.objects.filter(email=user.email)
osoby = Osoba.objects.filter(email__iexact=user.email)
if osoby.count() != 0 and user.email != '':
osoba = osoby.first()
if osoba.user is None:
@ -36,7 +36,7 @@ def spoj_k_organizatorum_osoby(apps, scema_editor):