• Resolved webfantastic

    (@webfantastic)


    Hi! I want to allow users to log in to the site via Telegram.
    I need to create two shortcodes:

    one for login only,

    and the second shortcode that will allow them to register.

    Thus, I will place one button in the account so that they can link their telegram in the profile, and I will make the other button only for logging in to the public part. Since registration via telegram does not allow you to request the user’s email and phone number, and these are the parameters I need.
    How to make two different shortcodes?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Irshad Ahmad

    (@irshadahmad21)

    It is not possible to collect email or phone number during Telegram login.

    Here are some options for you:

    1. When using Telegram login, you can redirect users to some profile/account page to let them update their email and phone number.
    2. Disable registration via Telegram and only allow to connect it on the account page. You can do so by adding the shortcode to the account page and turning ON the “Disable Sign up” option on the plugin settings page. This way the button on the login page will not allow them to register.
Viewing 1 replies (of 1 total)

The topic ‘Create two different shortcodes’ is closed to new replies.