mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-31 16:37:27 -08:00
working except for null 🤔
This commit is contained in:
parent
3982201d0e
commit
25163d1756
|
@ -19,7 +19,7 @@ class AlphaEncrypted implements ValidationRule
|
|||
$decrypted = Crypt::decrypt($value);
|
||||
dump($decrypted);
|
||||
if (!ctype_alpha($decrypted)) {
|
||||
$fail($attribute.' is not numeric.');
|
||||
$fail($attribute.' is not alphabetic.');
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
$fail($e->getMessage());
|
||||
|
|
Loading…
Reference in a new issue