mikker / passwordless

🗝 Authentication for your Rails app without the icky-ness of passwords
MIT License
1.25k stars 86 forks source link

Add route constraint(s) #228

Closed mikker closed 1 month ago

mikker commented 1 month ago

Building upon @tdegrunt's great work on a routing constraint.

Thank you for contributing, @tdegrunt!

I felt the proposed code was a bit hard to follow, so I moved things a bit around and came up with this which is essentially the same but slightly different 😅