mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
review: addressing
This commit is contained in:
5 files changed
+12
-15
No files matched your search
@@ -46,7 +46,7 @@ class MockNumber extends Validator
|
||||
return false;
|
||||
}
|
||||
|
||||
$otp = new Text(6, 6, Validator\Text::NUMBERS);
|
||||
$otp = new Text(6, 6, Text::NUMBERS);
|
||||
if (!$otp->isValid($value['otp'])) {
|
||||
$this->message = 'Invalid OTP. Please make sure the OTP is a 6 digit number';
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user