Lyra theme displays success notification when you try sign in with an expired login link

I noticed that the Lyra theme “Welcome back! You’ve successfully signed in.” even if you try to sign in with an old login link, and the sign in fails.

I was investigating how Lyra handled failed sign-in attempts so that I could do the same thing in my themes. So, this post is half bug report (Lyra doesn’t seem to handle this case), and half question: is there a way to notify the user that the link they tried to sign in with was expired — or at least suppress the success message if the login failed?


1 Like