Skip to content
Snippets Groups Projects
Verified Commit 55b64169 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Use login URL from settings in menu.

parent de139517
No related branches found
No related tags found
1 merge request!59Resolve "2FA"
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']
},
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment