diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-07-15 18:14:59 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2019-08-16 12:04:28 +0100 |
commit | 7b3a915a18a7c0056d80db2a17dcf1292b3df983 (patch) | |
tree | dfe471a9c10d348275af5940ccd759211bcd02c6 /perllib/FixMyStreet/Cobrand/Default.pm | |
parent | e77546bb7fb14dd0314fbc295b3e1b8d88876157 (diff) |
Allow anonymous submission by a button.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Default.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Default.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm index 0da60b77e..d7bec65cd 100644 --- a/perllib/FixMyStreet/Cobrand/Default.pm +++ b/perllib/FixMyStreet/Cobrand/Default.pm @@ -1058,8 +1058,10 @@ sub never_confirm_reports { 0; } =item allow_anonymous_reports -If true then can have reports that are truly anonymous - i.e with no email or -name. You need to also put details in the anonymous_account function too. +If true then a report submission with no user details will default to the user +given via the anonymous_account function, and create it anonymously. If set to +'button', then this will happen only when a report_anonymously button is +pressed in the front end, rather than whenever a username is not provided. =cut |