mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Fixed bugs in the password recovery
This commit is contained in:
@@ -271,6 +271,7 @@ class EventRecover(EventViewMixin, TemplateView):
|
||||
return self.invalid('invalid')
|
||||
else:
|
||||
user.set_password(self.form.cleaned_data['password'])
|
||||
user.save()
|
||||
messages.success(request, _('You can now login using your new password.'))
|
||||
return redirect('presale:event.checkout.login',
|
||||
organizer=self.request.event.organizer.slug,
|
||||
|
||||
Reference in New Issue
Block a user