diff --git a/accounts/forms.py b/accounts/forms.py index 765843f..e2c91c7 100644 --- a/accounts/forms.py +++ b/accounts/forms.py @@ -19,7 +19,7 @@ class AddUserForm(ModelForm): fakeform = PasswordResetForm(data={'email': user.email}) if fakeform.is_valid(): # oczywiście, że jest domain = get_current_site(request).domain - fakeform.save(request=request, from_email='webmaster@'+domain) + fakeform.save(request=request) UserSettings.objects.create(user=user) user.groups.add(*self.cleaned_data['groups']) return user diff --git a/accounts/templates/registration/activate.html b/templates/registration/activate.html index 155e119..155e119 100644 --- a/accounts/templates/registration/activate.html +++ b/templates/registration/activate.html diff --git a/accounts/templates/registration/activation_email.txt b/templates/registration/activation_email.txt index b90fe09..b90fe09 100644 --- a/accounts/templates/registration/activation_email.txt +++ b/templates/registration/activation_email.txt diff --git a/accounts/templates/registration/activation_email_subject.txt b/templates/registration/activation_email_subject.txt index ed8a3a9..ed8a3a9 100644 --- a/accounts/templates/registration/activation_email_subject.txt +++ b/templates/registration/activation_email_subject.txt diff --git a/accounts/templates/registration/login.html b/templates/registration/login.html index d4ffc9d..d4ffc9d 100644 --- a/accounts/templates/registration/login.html +++ b/templates/registration/login.html diff --git a/accounts/templates/registration/logout.html b/templates/registration/logout.html index ae611f5..ae611f5 100644 --- a/accounts/templates/registration/logout.html +++ b/templates/registration/logout.html diff --git a/accounts/templates/registration/password_change_done.html b/templates/registration/password_change_done.html index 3747246..3747246 100644 --- a/accounts/templates/registration/password_change_done.html +++ b/templates/registration/password_change_done.html diff --git a/accounts/templates/registration/password_change_form.html b/templates/registration/password_change_form.html index 8790991..8790991 100644 --- a/accounts/templates/registration/password_change_form.html +++ b/templates/registration/password_change_form.html diff --git a/accounts/templates/registration/password_reset_complete.html b/templates/registration/password_reset_complete.html index 63565a3..63565a3 100644 --- a/accounts/templates/registration/password_reset_complete.html +++ b/templates/registration/password_reset_complete.html diff --git a/accounts/templates/registration/password_reset_confirm.html b/templates/registration/password_reset_confirm.html index 41d22ee..41d22ee 100644 --- a/accounts/templates/registration/password_reset_confirm.html +++ b/templates/registration/password_reset_confirm.html diff --git a/accounts/templates/registration/password_reset_done.html b/templates/registration/password_reset_done.html index bd14f94..bd14f94 100644 --- a/accounts/templates/registration/password_reset_done.html +++ b/templates/registration/password_reset_done.html diff --git a/accounts/templates/registration/password_reset_email.html b/templates/registration/password_reset_email.html index f93ad72..f93ad72 100644 --- a/accounts/templates/registration/password_reset_email.html +++ b/templates/registration/password_reset_email.html diff --git a/accounts/templates/registration/password_reset_form.html b/templates/registration/password_reset_form.html index bdf9f1b..bdf9f1b 100644 --- a/accounts/templates/registration/password_reset_form.html +++ b/templates/registration/password_reset_form.html diff --git a/accounts/templates/registration/registration_complete.html b/templates/registration/registration_complete.html index a460c34..a460c34 100644 --- a/accounts/templates/registration/registration_complete.html +++ b/templates/registration/registration_complete.html diff --git a/accounts/templates/registration/registration_form.html b/templates/registration/registration_form.html index fd7d89f..fd7d89f 100644 --- a/accounts/templates/registration/registration_form.html +++ b/templates/registration/registration_form.html