(self, **kwargs)
| 326 | return super().form_valid(form) |
| 327 | |
| 328 | def get_context_data(self, **kwargs): |
| 329 | context = super().get_context_data(**kwargs) |
| 330 | if self.validlink: |
| 331 | context["validlink"] = True |
| 332 | else: |
| 333 | context.update( |
| 334 | { |
| 335 | "form": None, |
| 336 | "title": _("Password reset unsuccessful"), |
| 337 | "validlink": False, |
| 338 | } |
| 339 | ) |
| 340 | return context |
| 341 | |
| 342 | |
| 343 | @method_decorator(login_not_required, name="dispatch") |
no test coverage detected