WP 2FA with Telegram

Mô tả

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.

Ảnh màn hình

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

Hỏi đáp

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.

Đánh giá

24 Tháng Chín, 2023
I've been using this plugin for several years with no issues at all. I can't imagine running a WP site without it.
21 Tháng Bảy, 2023
It's slightly strange to configure when I'm not really familiar with Telegram but instructions were spot on and easy to follow. Works a treat. Many thanks.
12 Tháng Năm, 2018
It only took five minutes to install the plugin. Each step was clearly described. If you also use telegram as a messenger, this plugin offers an enormous security gain. Many thanks to the developers!
13 Tháng Mười Hai, 2017
Das Plugin tut genau das, was es soll und dies sehr zuverlässig.
Đọc tất cả 5 đánh giá

Người đóng góp & Lập trình viên

“WP 2FA with Telegram” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“WP 2FA with Telegram” đã được dịch qua 8 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “WP 2FA with Telegram” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi


  • Extended compatibility to WP 6.3


  • Extended compatibility to WP 6.2


  • Fix security issues


  • Extended compatibility to WP 6.1
  • Fix security issues


  • Extend compatibility to WP 5.9


  • Bugfixes


  • Extend compatibility to WP 5.8


  • Extend compatibility to WP 5.7


  • Backend performance improvements (Javascript and CSS)


  • Backend perfomance improvements


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


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


  • Small improves of code
  • Updated the screenshots of plugin


  • Fixed text domain in two strings of FAQ section


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


  • Added missing translations strings


  • Improvements for WordPress 5.3


  • 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


  • Bugfixes, new logo and cover


  • Extended compatibility to WP 4.9.4


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


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


  • First public release