diff --git a/biscuit/core/menus.py b/biscuit/core/menus.py index 90ca4046093a64e4704edee3cf243173b28f5fd4..cc605935ca5ea69412f668097f2627648d6d20c2 100644 --- a/biscuit/core/menus.py +++ b/biscuit/core/menus.py @@ -1,3 +1,4 @@ +from django.conf import settings from django.utils.translation import ugettext_lazy as _ MENUS = { @@ -14,7 +15,7 @@ MENUS = { }, { 'name': _('Login'), - 'url': 'two_factor:login', + 'url': settings.LOGIN_URL, 'validators': ['menu_generator.validators.is_anonymous'] }, {