Various changes. Migration to the new layout is now ok.

This commit is contained in:
Antoine Nguyen
2013-09-29 18:20:52 +02:00
parent c34ef9f47a
commit bbddac3953
30 changed files with 847 additions and 125 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ class ProfileForm(forms.ModelForm):
if self.cleaned_data["oldpassword"] == "":
return self.cleaned_data["oldpassword"]
if parameters.get_admin("AUTHENTICATION_TYPE", app="admin") != "local":
if parameters.get_admin("AUTHENTICATION_TYPE") != "local":
return self.cleaned_data["oldpassword"]
if not self.instance.check_password(self.cleaned_data["oldpassword"]):