mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
review: addressing
This commit is contained in:
@@ -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