Completed
Push — master ( 80619a...e9eada )
by Arman
03:36
created
src/Libraries/Auth/WebAuth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
             throw new AuthException(ExceptionMessages::INCORRECT_VERIFICATION_CODE);
146 146
         }
147 147
  
148
-        if (new \DateTime() >= new \DateTime($user[$this->keys[self::OTP_EXPIRY_KEY]])){
148
+        if (new \DateTime() >= new \DateTime($user[$this->keys[self::OTP_EXPIRY_KEY]])) {
149 149
             throw new AuthException(ExceptionMessages::VERIFICATION_CODE_EXPIRED);
150 150
         }
151 151
 
Please login to merge, or discard this patch.
src/Libraries/Auth/ApiAuth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
             throw new AuthException(ExceptionMessages::INCORRECT_VERIFICATION_CODE);
182 182
         }
183 183
         
184
-        if (new \DateTime() >= new \DateTime($user[$this->keys[self::OTP_EXPIRY_KEY]])){
184
+        if (new \DateTime() >= new \DateTime($user[$this->keys[self::OTP_EXPIRY_KEY]])) {
185 185
             throw new AuthException(ExceptionMessages::VERIFICATION_CODE_EXPIRED);
186 186
         }
187 187
 
Please login to merge, or discard this patch.