How to invite new user using email and secret URL?

I want to know the best practices to invite new users using email.
In Rocket.Chat Administration -> Settings -> Accounts -> Registration -> Registration Form
I choose Secret URL.
In Administration -> Users -> Invite -> Send invitation email
Send email.
But, the received email’s invite link is Public URL.
So, the user can’t register via invite email.

What setting is the best practice? I want to use Secret URL for security.


(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

the canned inve email needs to be modified to add /register/secret url works like a charm