Replies: 5 comments 8 replies
-
Hi, I'm not sure, I haven't used devise-invitable, so I don't know how it works. If you have some knowledge about it, maybe could describe its flow, and we could come up with some Rodauth configuration that would support this. |
Beta Was this translation helpful? Give feedback.
-
Thanks, @janko! I haven't used devise invitable either, but the flow should go like so: I hope it makes sense. |
Beta Was this translation helpful? Give feedback.
-
Interested in this as well! It doesn't seem too different from the verify account feature, especially with Happy to help with implementing this if needed. |
Beta Was this translation helpful? Give feedback.
-
This is what I ended up adding to def send_invitation
account = Account.create(
email: params["email"],
name: params["name"]
)
rodauth.account_from_login(account.email)
rodauth.setup_account_verification
end Don't forget to configure this in # Set password when verifying account instead of when creating.
verify_account_set_password? true |
Beta Was this translation helpful? Give feedback.
-
FWIW, here is the WIP implementation of an invite feature that I had started some time ago but never finished (and haven't tried running the code). Maybe it can serve as a starting point for whoever wants to work on the feature. |
Beta Was this translation helpful? Give feedback.
-
I wonder how we can implement signup by invitation similar to devise invitable.
Any suggestions are appreciated.
Beta Was this translation helpful? Give feedback.
All reactions