Merge "Minor code style changes"

This commit is contained in:
jenkins-bot 2020-12-31 03:29:55 +00:00 committed by Gerrit Code Review
commit dccf665960

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