]> git.openstreetmap.org Git - rails.git/commit
Ensure correct behaviour when the user is unknown
authorPablo Brasero <pablo@pablobm.com>
Wed, 28 Oct 2026 16:28:11 +0000 (16:28 +0000)
committerPablo Brasero <pablo@pablobm.com>
Fri, 30 Oct 2026 12:10:42 +0000 (12:10 +0000)
commita558ce19110685e77fdaf2bc4ae36e2b850f5b0c
tree953f52a82bca1ada1a1df4f8d0f6b95e2b3db3c8
parent98ac584703664e314c7e5238bcac46d407071467
Ensure correct behaviour when the user is unknown

This is not a big deal for us, since in this codebase it's equivalent
to the password being wrong, etc. However:

- We should be testing all potential behaviours, irrespective of how we
  implement things under the hood.

- If we integrate a third-party solution for authentication, this
  may be different. It's indeed a different code path in Devise,
  so this PR reduces the size of a potential future Devise PR.
test/controllers/sessions_controller_test.rb