Commit 5b1725c5 authored by Daniel STAN's avatar Daniel STAN

Corrige prob association Wiki

parent 01046256
......@@ -16,7 +16,7 @@ class LinkAccount(Form):
wiki_name = CharField(label=_(u"Nom d'utilisateur Wiki"))
password = CharField(label=_(u"Mot de passe associé"), widget=PasswordInput)
check_url = 'https://wiki.crans.org/?action=checkpassword'
check_url = 'https://wiki.crans.org/API?action=checkpassword'
def clean(self):
""" Teste la validité du couple login/mdp """
......
......@@ -13,9 +13,9 @@ from forms import LinkAccount, CreateAccount, Form
from intranet import settings
if settings.DEBUG:
from models_ldap import WikiName
else:
from models_test import WikiName
else:
from models_ldap import WikiName
class Create(FormView):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment