Skip to content

Commit

Permalink
Merge pull request #54 from borgia-app/fix_two_logins
Browse files Browse the repository at this point in the history
Add '/' path to exempt login
  • Loading branch information
AlexandrePalo authored May 10, 2018
2 parents 35f832b + 502626e commit b318c65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion borgia/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
LOGIN_URL = '/auth/login/'

LOGIN_EXEMPT_URLS = [
'/',
'/auth/login/',
'/auth/password_reset/',
'/auth/password_reset/done/',
Expand Down Expand Up @@ -233,5 +234,5 @@
"BALANCE_FREQUENCY_MAIL_ALERT": ("BALANCE_FREQUENCY_MAIL_ALERT", "Fréquence (jours) à laquelle l'alerte mail est envoyée si le solde est inférieur à la valeur seuil",
"i", "7"),
"BALANCE_THRESHOLD_PURCHASE": ("BALANCE_THRESHOLD_PURCHASE", "Valeur seuil (€) en dessous de laquelle (strictement) la commande est impossible",
"f", "0")
"f", "0")
}

0 comments on commit b318c65

Please sign in to comment.