]> git.openstreetmap.org Git - rails.git/commit
Clear current_user if we reject OAuth 1
authorTom Hughes <tom@compton.nu>
Sun, 7 Jul 2024 18:40:28 +0000 (19:40 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 7 Jul 2024 18:40:28 +0000 (19:40 +0100)
commit3e77cae66c99a2cf3e29356a64cd230343d9762f
tree41cde4446d43df5d41035293028c3f8d31ffdf46
parentd4344da2beeff6ed657c1a9970573acdad8563eb
Clear current_user if we reject OAuth 1

This ensures we don't try and do any further validation of the
user which might lead to trying to report additional errors.
app/controllers/api_controller.rb