Closed henrikbjorn closed 1 year ago
I appreciate the effort!
I feel like if you're already using your own custom controller, you may as well set up your own routes too. It's only 4 lines that are easily copied.
I don't want to have to support an option like this at this point.
I appreciate the effort!
I feel like if you're already using your own custom controller, you may as well set up your own routes too. It's only 4 lines that are easily copied.
I don't want to have to support an option like this at this point.
It seems like a natural extension point instead of copy pasting the helper method, and making sure that the authenticable
default params etc. are present.
Previously I defaulted to do something like this:
Rails.configuration.to_prepare do
Passwordless::SessionsController.class_eval do
layout 'passwordless'
end
end
Also before I make another PR. I would like to use a custom mailer and thought about adding Passwordless.mailer
just like devise
does.
Change of heart. This is good! Thank you @henrikbjorn for contributing and for sticking to it. โค๏ธ๐งก๐๐๐๐
Closer to using multiple models in the same project. E.g providing Devise like support for ActiveAdmin but with Passwordless