Skip to content

Commit 1264aaa

Browse files
committed
:octocat:
1 parent de184ce commit 1264aaa

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/Authenticator.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
/**
1818
* Yet another Google authenticator implementation!
1919
*
20+
* Note: This class has been reduced oover time to a front-end to the several authenticator classes
21+
* (`HOTP`, `TOTP`, ...), which can be invoked on their own. `Authenticator` will remain for convenience.
22+
*
2023
* @link https://tools.ietf.org/html/rfc4226
2124
* @link https://tools.ietf.org/html/rfc6238
2225
* @link https://github.com/google/google-authenticator

src/Authenticators/AuthenticatorAbstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
abstract class AuthenticatorAbstract implements AuthenticatorInterface{
2828

29-
protected const userAgent = 'chillerlanAuthenticator/5.0 +https://github.com/chillerlan/php-authenticator';
29+
protected const userAgent = 'chillerlanAuthenticator/4.0 +https://github.com/chillerlan/php-authenticator';
3030

3131
/** @var \chillerlan\Settings\SettingsContainerInterface|\chillerlan\Authenticator\AuthenticatorOptions */
3232
protected SettingsContainerInterface $options;

0 commit comments

Comments
 (0)