aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/reports.t
diff options
context:
space:
mode:
authorChris Mytton <self@hecticjeff.net>2013-10-21 18:29:58 +0100
committerChris Mytton <self@hecticjeff.net>2013-10-21 18:29:58 +0100
commit47cbcc8b99766bbbfa4a3348868c4f61ede0cdb1 (patch)
treeb04cff7879f3d4211136e4ae087a706924e57f6c /t/app/controller/reports.t
parent82e247e310420a46ae47a7a920309c654b8a6e5d (diff)
[Zurich] Remove phone number requirement for mobile app reports
The phone number was made mandatory in #541. To make this change compatible with older versions of the mobile app I've had to drop server side validation of the phone number for requests that come in from mobile apps. To determine if it's a mobile request I'm checking the 'service' parameter in the request, which is only set in requests from the mobile apps [1]. The phone validation will still happen client side for the newer versions of the app, and the web app will continue to work with the server side validations. [1] https://github.com/mysociety/zurich_mobile/blob/1fec2bc21dad9326819105cdbf5d47183e7503ba/www/js/models.js#L75
Diffstat (limited to 't/app/controller/reports.t')
0 files changed, 0 insertions, 0 deletions