@@ -212,7 +212,7 @@ |
||
212 | 212 | } elseif (isset($state['cmdotcom:resendRequested']) && ($state['cmdotcom:resendRequested'] === true)) { |
213 | 213 | $t->data['message'] = ''; |
214 | 214 | } else { |
215 | - throw new RuntimeException('Unknown request for SMS resend.'); |
|
215 | + throw new RuntimeException('Unknown request for SMS resend.'); |
|
216 | 216 | } |
217 | 217 | |
218 | 218 | return $t; |
@@ -270,7 +270,7 @@ |
||
270 | 270 | // Store hash & time |
271 | 271 | $state['cmdotcom:hash'] = $hash; |
272 | 272 | $state['cmdotcom:notBefore'] = time(); |
273 | - $state['cmdotcom:notAfter'] = time() + $state['cmdotcom:validFor'];; |
|
273 | + $state['cmdotcom:notAfter'] = time() + $state['cmdotcom:validFor']; ; |
|
274 | 274 | |
275 | 275 | // Save state and redirect |
276 | 276 | $id = Auth\State::saveState($state, 'cmdotcom:request'); |