@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | Assert::isInstanceOf( |
146 | 146 | $source, |
147 | 147 | YubiKey::class, |
148 | - 'Could not find authentication source with id ' . $state[self::AUTHID] |
|
148 | + 'Could not find authentication source with id '.$state[self::AUTHID] |
|
149 | 149 | ); |
150 | 150 | /** @var \SimpleSAML\Module\authYubiKey\Auth\Source\YubiKey $source */ |
151 | 151 | |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | */ |
202 | 202 | protected function login(string $otp): array |
203 | 203 | { |
204 | - require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/libextinc/Yubico.php'; |
|
204 | + require_once dirname(dirname(dirname(dirname(__FILE__)))).'/libextinc/Yubico.php'; |
|
205 | 205 | |
206 | 206 | $yubi = new \Auth_Yubico($this->yubi_id, $this->yubi_key); |
207 | 207 | try { |
@@ -210,14 +210,14 @@ discard block |
||
210 | 210 | $attributes = ['uid' => [$uid]]; |
211 | 211 | } catch (Exception $e) { |
212 | 212 | Logger::info( |
213 | - 'YubiKey:' . $this->authId . ': Validation error (otp ' . $otp . '), debug output: ' |
|
213 | + 'YubiKey:'.$this->authId.': Validation error (otp '.$otp.'), debug output: ' |
|
214 | 214 | . $yubi->getLastResponse() |
215 | 215 | ); |
216 | 216 | throw new Error\Error('WRONGUSERPASS', $e); |
217 | 217 | } |
218 | 218 | |
219 | 219 | Logger::info( |
220 | - 'YubiKey:' . $this->authId . ': YubiKey otp ' . $otp . ' validated successfully: ' |
|
220 | + 'YubiKey:'.$this->authId.': YubiKey otp '.$otp.' validated successfully: ' |
|
221 | 221 | . $yubi->getLastResponse() |
222 | 222 | ); |
223 | 223 | return $attributes; |