devise-passwordless icon indicating copy to clipboard operation
devise-passwordless copied to clipboard

Users lookup with wrong method on new session

Open queirozlc opened this issue 1 year ago • 0 comments

Hi, i'm pretty new around here so first congratulations for the work!

I was looking through the source code and i've found something pretty weird, in the session controller, the user lookup it's being done using the devise Authenticable method find_for_authentication, but i think it should use the method find_for_magic_link_authentication, at least this is the way devise does that, as you can see in database_authenticable

queirozlc avatar Apr 08 '25 04:04 queirozlc