WP 2FA with Telegram

August 22, 2023

WP 2FA with Telegram Plugin

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.

  • Easy Configuration: install plugin and setup in a few seconds.
  • Increase security: increase the level of security in your blog / website by adding and additional authentication factor
  • Speed: Forget additional apps, sms or captcha. Use Telegram for a very fast experience!
  • Allow users to enable Two-factor authentication: every user directly from own profile may decide to require secure login.
  • Send alert: set a Telegram Chat Id for an admin to receive for receiving notifications every time users fail login.
  • FAQ: read the FAQ inside plugin for create your Telegram Bot
  • Languages: plugin is available in Italian, English and Spanish languages.

Screenshots

  1. 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.

    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.

  2. 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.

    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.

  3. You will also find a tab with the FAQ.

    You will also find a tab with the FAQ.

  4. After configuring your bot token and chat ID, you will able to activate two-factor authentication with Telegram for your current user.

    After configuring your bot token and chat ID, you will able to activate two-factor authentication with Telegram for your current user.

  5. 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.

    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.

  6. 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.

    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.

  7. You can customize the logo with yours using "two_factor_login_telegram_logo" filter hook. See the instructions of use in FAQ.

    You can customize the logo with yours using "two_factor_login_telegram_logo" filter hook. See the instructions of use in FAQ.

FAQ

Can I customize the logo on the “WP 2FA with Telegram” login screen?

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.

Changelog

2.9

  • Extended compatibility to WP 6.3

2.8

  • Extended compatibility to WP 6.2

2.7

  • Fix security issues

2.6

  • Extended compatibility to WP 6.1
  • Fix security issues

2.3

  • Extend compatibility to WP 5.9

2.2

  • Bugfixes

2.1

  • Extend compatibility to WP 5.8

2.0.0

  • Extend compatibility to WP 5.7

1.9.1

  • Backend performance improvements (Javascript and CSS)

1.9

  • Backend perfomance improvements

1.8.4

  • Improved markup in setup page
  • Tested up to WordPress 5.4

1.8.3

  • Introduced two_factor_login_telegram_logo filter hook to customize the logo in «WP 2FA with Telegram» login screen
  • Added new screenshot to show the two_factor_login_telegram_logo filter hook in action
  • Added FAQ entry to explain of two_factor_login_telegram_logo filter hook use.
  • Updated plugin name to “WP 2FA with Telegram” (Previusly “WP Two Factor Authentication with Telegram”)
  • Remove folders /languages and /screenshot from plugin root directory. Those directories are not uselful anymore.
  • Fixed some fields in plugin header comment and Readme file according to the best practices recommended by WP Developer Handbook and Plugin i18n Readiness.

1.8.2

  • Small improves of code
  • Updated the screenshots of plugin

1.8.1

  • Fixed text domain in two strings of FAQ section

1.8

  • Added two new options to failed login attempt message you can enable or disable when you need: Show site name & show site URL

1.7

  • Added missing translations strings

1.6

  • Improvements for WordPress 5.3

1.5

  • Fixed a bug which prevented user to disable Telegram 2FA
  • Fixed a bug which prevented user to receive a new code if inserted code is wrong

1.4

  • Bugfixes, new logo and cover

1.3

  • Extended compatibility to WP 4.9.4

1.2

  • In failed send with Telegram the IP address behind a CloudFlare proxy (Thx Manuel for suggestion)

1.1

  • Insert english translation
  • Introduced a tab for report problems or leave suggestions

1.0

  • First public release

Details

  • Version: 2.9
  • Active installations: 100
  • WordPress Version: 5.0
  • Tested up to: 6.3.5
  • PHP Version: 7.0

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars