Skip to content

Commit abc3701

Browse files
committed
more syntax fixes
1 parent f1e48c9 commit abc3701

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Auth/Process/WebAuthn.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public function process(array &$state): void {
153153
$lastSecondFactor instanceof \DateTime
154154
)
155155
) {
156-
$interval = $lastSecondFactor->diff( \DateTime());
156+
$interval = $lastSecondFactor->diff( new \DateTime());
157157
if ($interval->invert == 1) {
158158
throw new \Exception("We are talking to a future self. Amazing.");
159159
}

0 commit comments

Comments
 (0)