Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple mounts are broken #28

Closed
mikker opened this issue Jul 30, 2018 · 3 comments
Closed

Multiple mounts are broken #28

mikker opened this issue Jul 30, 2018 · 3 comments
Assignees

Comments

@mikker
Copy link
Owner

mikker commented Jul 30, 2018

Passwordless.mounted_as doesn't allow for multiple mounts.

@Uysim
Copy link
Contributor

Uysim commented Feb 20, 2020

@mikker I have an idea like

passwordless_for :user 
passwordless_for :admin

then we can have route method like this

user_passwordless_token_sign_in
admin_passwordless_token_sign_in

This concept taking from devise. If you need my help I can create pull request

@mikker
Copy link
Owner Author

mikker commented Feb 20, 2020

This would require #22 and a bit more work to generate resource based routes. PRs are welcome (but be aware that I don't think this is a small task.)

@mikker
Copy link
Owner Author

mikker commented Sep 11, 2023

Fixed in upcoming 1.0

@mikker mikker closed this as completed Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants