mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-28 02:00:06 +00:00
Minor code style changes
Change-Id: I4bdc173fb6dd1cfeefc537c904a92724ea50112f
This commit is contained in:
parent
2f88a2c537
commit
6bb34e9265
|
@ -151,7 +151,9 @@ class TOTPKey implements IAuthKey {
|
|||
$retval = false;
|
||||
$results = HOTP::generateByTimeWindow(
|
||||
Base32::decode( $this->secret['secret'] ),
|
||||
$this->secret['period'], -$wgOATHAuthWindowRadius, $wgOATHAuthWindowRadius
|
||||
$this->secret['period'],
|
||||
-$wgOATHAuthWindowRadius,
|
||||
$wgOATHAuthWindowRadius
|
||||
);
|
||||
|
||||
// Remove any whitespace from the received token, which can be an intended group seperator
|
||||
|
|
Loading…
Reference in a new issue