Minor code style changes

Change-Id: I4bdc173fb6dd1cfeefc537c904a92724ea50112f
This commit is contained in:
Reedy 2020-12-28 02:46:47 +00:00
parent 2f88a2c537
commit 6bb34e9265

View file

@ -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