SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit e515eb9d authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Fix dissapearing surenames after updating personal data

Due to a security fix visitors are not allowed to change their surenames.
 However, this was only fixed by appending HTML-tag 'readonly':
 1) It's still really easy to this change your surename by just removing
    this HTML-tag in your browser.
 2) The surename data wasn't sent so the processing form (due to a not required
    field) return the surename as an empty string.

Eventually this views should entirely be processed by a modelform ONLY. So no more
 assigning cleaned data to specific fields of the request.user.contributor!
parent b9e04352
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment