Code

Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#11178 closed (duplicate)

django.contrib.auth.views.login doesn't pass request to AuthenticationForm

Reported by: Florian Reinhard <florian.reinhard@…> Owned by: nobody
Component: contrib.auth Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

as long as request isn't passed to django.contrib.auth.forms.AuthenticationForm you won't get an error for users with cookies disabled.

Attachments (1)

django_fix_contrib.auth.views.login.diff (665 bytes) - added by Florian Reinhard <florian.reinhard@…> 5 years ago.
patch for contrib/auth/views.py

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by Florian Reinhard <florian.reinhard@…>

patch for contrib/auth/views.py

comment:1 Changed 5 years ago by Florian Reinhard <florian.reinhard@…>

  • Component changed from Uncategorized to Authentication
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 5 years ago by kmtracey

  • Resolution set to duplicate
  • Status changed from new to closed

Dup of #10166, please search before opening new tickets.

Also, intentional behavior. See #3393 / r7692.

comment:3 Changed 3 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.