This plugin enables two factor authentication with Telegram by increasing your website security and sends an alert every time a wrong login occurs.
WP 2FA with Telegram allows you to enable Two-factor authentication for WordPress Login using Telegram.
This is the setup tab. Here you must to enter your bot token and your chat ID. The plugin only works when this info is filled. Optinally, you can choose to show or not the site name and site URL in the failed attempt to access message.
After configuring your bot token and chat ID, you will see a confirmation notice with a link to configure two-factor authentication with Telegram with your current user.
You will also find a tab with the FAQ.
After configuring your bot token and chat ID, you will able to activate two-factor authentication with Telegram for your current user.
The login page will show a second screen after the user's login has been successful. You must enter here your authentication code that your Telegram bot will send you to continue to the WordPress dashboard.
This plugin send three type of messages: 1. A message to each user when setup two-factor authentication with Telegram, 2. A message with access code for each time an users with two-factor authentication with Telegram enabled try login to your WordPress dashboard, 3. A message to admin for each time a user failed attempt to access.
You can customize the logo with yours using "two_factor_login_telegram_logo" filter hook. See the instructions of use in FAQ.
Yes, you can do it. To use your custom logo, you must to use the two_factor_login_telegram_logo
filter hook. Below you can see a useful code snippet as example of use (you must to put this in a custom plugin or the functions.php
file of your active theme):
// Custom logo on "WP 2FA with Telegram" login screen: function two_factor_login_telegram_custom_logo(){ $image_path = home_url('/images/'); $image_filename = 'custom-two-factor-telegram.png'; return $image_path . $image_filename; } add_filter('two_factor_login_telegram_logo', 'two_factor_login_telegram_custom_logo');
Please note the URL generated in the example above is https://example.com/images/custom-two-factor-telegram.png. If you want to use this code, you’ll need to update the path and filename to match with location of your custom logo.
two_factor_login_telegram_logo
filter hook to customize the logo in «WP 2FA with Telegram» login screentwo_factor_login_telegram_logo
filter hook in actiontwo_factor_login_telegram_logo
filter hook use.