mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-24 08:14:15 +00:00
Merge "Minor code style changes"
This commit is contained in:
commit
dccf665960
|
@ -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