ຂ້າມໄປທີ່ເນື້ອຫາ
WordPress.org

ລາວ

  • ທິມ
  • ປັກອິນ
  • ຂ່າວ
  • ກ່ຽວກັບ
  • ທິມລາວ
  • ຕິດຕໍ່
  • ດາວໂຫລດ WordPress
ດາວໂຫລດ WordPress
WordPress.org

Plugin Directory

One Time Login

  • ສົ່ງປລັກອິນ
  • ທີ່ມັກຂອງຂ້ອຍ
  • ເຂົ້າສູ່ລະບົບ
  • ສົ່ງປລັກອິນ
  • ທີ່ມັກຂອງຂ້ອຍ
  • ເຂົ້າສູ່ລະບົບ

One Time Login

ໂດຍ Daniel Bachhuber
ດາວໂຫຼດ
  • ລາຍລອຽດ
  • ການຣີວິວ
  • ການຕິດຕັ້ງ
  • ການພັດທະນາ
ການຊ່ວຍເຫຼືອ

ຄຳອະທິບາຍ

Need access to a WordPress install but don’t want to create a new user account? Use this plugin to generate one-time login URLs for any existing user.
Then, copy the URL, paste it into your web browser, and… voila!

Because they are one-time login URLs, they will only work once. If you need access again, you’ll need to run the WP-CLI command again.

Using WP CLI to generate OTT URLs

Example

wp plugin install one-time-login --activate && wp user one-time-login <user> --count=3 --delay-delete

After you run the command above, you’ll see a success message like this:

http://wpdev.test/wp-login.php?user_id=2&one_time_login_token=93974b48e3a418b895fc7ca476f1a607d8b99345

Or like this if you asked for more than one:

http://wpdev.test/wp-login.php?user_id=1&one_time_login_token=2b9c6f5d71d51d530e397ee9da3b50e4e3dd06e7
http://wpdev.test/wp-login.php?user_id=1&one_time_login_token=90897da439a116c613fc1c49c372e6b1f7c72ad8
http://wpdev.test/wp-login.php?user_id=1&one_time_login_token=68c8074743de849db606500c3caa39a7432dc601<h3>Parameters</h3>

* count: Generate more than one login token (default: 1);
* delay-delete: Delete existing tokens after 15 minutes, instead of immediately.

Using WP API to generate OTT URLs

Example with cUrl

curl -X POST \
    http://wpdev.test/wp-json/one-time-login/v1/token
    -H 'authorization: Basic YWRtaW46eFRQeUJ5c3hEckhkY3BNYjE2endiQ2tj'
    -H 'cache-control: no-cache'
    -H 'postman-token: 8dcfa79a-401a-2c7d-c593-703e683ce785'
    -d '{
        "user":"admin",
        "count": 3,
        "delay-delete": true
    }'<h3>Parameters</h3>

Just as with WP CLI, you can add the count and delay_delete parameters to your call.

Feel free to file issues and pull requests against the project on Github.

ການຕິດຕັ້ງ

See description for installation and usage instructions.

ການຣີວິວ

Super!

semseysandor 15 ພະຈິກ 2022 1 ການຕອບກັບ
Just what I need in a CD pipeline to deploy Wordpress. Works great with WordPress v6.0.3 too.

Awesome!

noahbalboah 28 ຕຸລາ 2016 1 ການຕອບກັບ
This is super awesome and will be helpful managing customers sites.
ອ່ານການຣີວິວທັງໝົດ 2 ລາຍການ

ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“One Time Login” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ
  • Daniel Bachhuber
  • Angelo
  • Gaelle Despoulain

ແປ “One Time Login” ເປັນພາສາຂອງເຈົ້າ.

ສົນໃຈຮ່ວມພັດທະນາບໍ່?

ເບິ່ງລະຫັດ, ກວດເບິ່ງ ຄັງເກັບ SVN, ຫຼື ຕິດຕາມ ບັນທຶກການພັດທະນາ ຜ່ານ RSS.

ບັນທຶກການປ່ຽນແປງ

0.4.0 (August 30th, 2021)

  • Introduces one-time-login/v1/token WP REST API endpoint to generate tokens [#28].

0.3.1 (June 1st, 2021)

  • Fires one_time_login_after_auth_cookie_set action after the auth cookie is set [#27].

0.3.0 (May 24th, 2018)

  • Introduces --delay-delete flag to delete old tokens after 15 minutes instead of immediately.
  • Improves invalid token message when user is already logged in: “Invalid one-time login token, but you are logged in as ‘user_login’. Go to the dashboard instead?”.

0.2.0 (May 3rd, 2018)

  • Introduces support for multiple one-time login links.
  • Links to the login screen from the “Invalid token” error message.

0.1.2 (June 11th, 2016)

  • Fires one_time_login_created action when login URL is created, and one_time_login_logged_in action when user is logged in via one-time login URL.

0.1.1 (May 26th, 2016)

  • Bug fix: Pass $assoc_args into the command to ensure the --porcelain flag actually works.

0.1.0 (April 28th, 2016)

  • Initial release.

ຂໍ້ມູນກຳກັບ (Meta)

  • ເວີຊັນ 0.4.0
  • ອັບເດດຫຼ້າສຸດເມື່ອ 3 ເດືອນ ທີ່ຜ່ານມາ ທີ່ຜ່ານມາ
  • ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ 40,000+
  • ເວີຊັນ WordPress 4.4 ຫຼື ສູງກວ່າ
  • ທົດສອບເຖິງເວີຊັນ 6.9.4
  • ເວີຊັນ PHP 7.1 ຫຼື ສູງກວ່າ
  • ພາສາ
    English (US)
  • ແທັກ
    login
  • ມຸມມອງຂັ້ນສູງ

ການໃຫ້ຄະແນນ

5 ຈາກທັງໝົດ 5 ດາວ.
  • ການວິຈານ 5 ດາວ ຈຳນວນ 2 ລາຍການ 5 ດາວ 2
  • ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ 4 ດາວ 0
  • ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ 3 ດາວ 0
  • ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ 2 ດາວ 0
  • ການວິຈານ 1 ດາວ ຈຳນວນ 0 ລາຍການ 1 ດາວ 0

ເພີ່ມຄຳຄິດເຫັນຂອງຂ້ອຍ

ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ

ຜູ້ຮ່ວມພັດທະນາ

  • Daniel Bachhuber
  • Angelo
  • Gaelle Despoulain

ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ

  • ກ່ຽວກັບ
  • ຂ່າວສານ
  • ໂຮສຕິງ
  • ຄວາມເປັນສ່ວນຕົວ
  • ງານທີ່ໂດດເດັ່ນ
  • ທີມ
  • ປລັກອິນ
  • ຮູບແບບບລັອກ
  • ຮຽນຮູ້
  • ຊ່ວຍເຫຼືອ
  • ນັກພັດທະນາ
  • WordPress.tv ↗
  • ມີສ່ວນຮ່ວມ
  • ກິດຈະກຳ
  • ບໍລິຈາກ ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

ລາວ

  • ຢ້ຽມຊົມບັນຊີ X (ຊື່ເກົ່າ Twitter) ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມບັນຊີ Bluesky ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມບັນຊີ Mastodon ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມບັນຊີ Threads ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມໜ້າ Facebook ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມບັນຊີ Instagram ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມບັນຊີ LinkedIn ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມບັນຊີ TikTok ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມຊ່ອງ YouTube ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມບັນຊີ Tumblr ຂອງພວກເຮົາ
Code is Poetry.
The WordPress® trademark is the intellectual property of the WordPress Foundation.