error message change

hash-command-arbitrary
Avril 4 years ago
parent a68be64782
commit 8f0ac165d7
Signed by untrusted user: flanchan
GPG Key ID: 284488987C31F630

@ -366,7 +366,7 @@ IU.verified = function () {
if (!w || !h)
return this.failure(Muggle('Bad image dimensions.'));
if (config.IMAGE_PIXELS_MAX && w * h > config.IMAGE_PIXELS_MAX)
return this.failure(Muggle('Way too many pixels.'));
return this.failure(Muggle('This is photoshopped, I can tell from the pixels.'));
if (w > config.IMAGE_WIDTH_MAX && h > config.IMAGE_HEIGHT_MAX)
return this.failure(Muggle(desc+' is too wide and too tall.'));
if (w > config.IMAGE_WIDTH_MAX)

Loading…
Cancel
Save