[PR #50] [MERGED] Add functionality to prevent reuse of keys. #591

Closed
opened 2026-03-14 12:14:55 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/antonioribeiro/google2fa/pull/50
Author: @SebastianS90
Created: 10/17/2016
Status: Merged
Merged: 6/16/2017
Merged by: @antonioribeiro

Base: masterHead: verify-newer


📝 Commits (2)

  • f9b9cdc Add functionality to prevent reuse of keys.
  • d564558 fix typo and improve code formatting in readme

📊 Changes

4 files changed (+112 additions, -3 deletions)

View changed files

📝 readme.md (+27 -0)
📝 src/Contracts/Google2FA.php (+23 -0)
📝 src/Google2FA.php (+44 -0)
📝 tests/spec/Google2FASpec.php (+18 -3)

📄 Description

See the patched readme files for details.

I also added a getter for KEY_REGENERATION in order to allow using
the facade like this: $ts * Google2FA::getKeyRegenerationTime()


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/antonioribeiro/google2fa/pull/50 **Author:** [@SebastianS90](https://github.com/SebastianS90) **Created:** 10/17/2016 **Status:** ✅ Merged **Merged:** 6/16/2017 **Merged by:** [@antonioribeiro](https://github.com/antonioribeiro) **Base:** `master` ← **Head:** `verify-newer` --- ### 📝 Commits (2) - [`f9b9cdc`](https://github.com/antonioribeiro/google2fa/commit/f9b9cdcfd98860da76f4e17397f6ceb1fbbdffea) Add functionality to prevent reuse of keys. - [`d564558`](https://github.com/antonioribeiro/google2fa/commit/d5645585249ad903cd7a6101e50f9902e4c96bf3) fix typo and improve code formatting in readme ### 📊 Changes **4 files changed** (+112 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `readme.md` (+27 -0) 📝 `src/Contracts/Google2FA.php` (+23 -0) 📝 `src/Google2FA.php` (+44 -0) 📝 `tests/spec/Google2FASpec.php` (+18 -3) </details> ### 📄 Description See the patched readme files for details. I also added a getter for KEY_REGENERATION in order to allow using the facade like this: `$ts * Google2FA::getKeyRegenerationTime()` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 12:14:55 +03:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/google2fa#591
No description provided.