@@ -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 | |
151 | 151 | try { |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | */ |
205 | 205 | protected function login(string $otp): array |
206 | 206 | { |
207 | - require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/libextinc/Yubico.php'; |
|
207 | + require_once dirname(dirname(dirname(dirname(__FILE__)))).'/libextinc/Yubico.php'; |
|
208 | 208 | |
209 | 209 | $yubi = new \Auth_Yubico($this->yubi_id, $this->yubi_key); |
210 | 210 | try { |
@@ -213,14 +213,14 @@ discard block |
||
213 | 213 | $attributes = ['uid' => [$uid]]; |
214 | 214 | } catch (Exception $e) { |
215 | 215 | Logger::info( |
216 | - 'YubiKey:' . $this->authId . ': Validation error (otp ' . $otp . '), debug output: ' |
|
216 | + 'YubiKey:'.$this->authId.': Validation error (otp '.$otp.'), debug output: ' |
|
217 | 217 | . $yubi->getLastResponse() |
218 | 218 | ); |
219 | 219 | throw new Error\Error('WRONGUSERPASS', $e); |
220 | 220 | } |
221 | 221 | |
222 | 222 | Logger::info( |
223 | - 'YubiKey:' . $this->authId . ': YubiKey otp ' . $otp . ' validated successfully: ' |
|
223 | + 'YubiKey:'.$this->authId.': YubiKey otp '.$otp.' validated successfully: ' |
|
224 | 224 | . $yubi->getLastResponse() |
225 | 225 | ); |
226 | 226 | return $attributes; |