Browse Source

Trim an exception message in the crypter.

Taylor Otwell 13 years ago
parent
commit
d392365a1b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      laravel/crypter.php

+ 2 - 2
laravel/crypter.php

@@ -62,7 +62,7 @@ class Crypter {
 	{
 		if (($value = base64_decode($value)) === false)
 		{
-			throw new \InvalidArgumentException('Decryption error. Input value is not valid base64 data.');
+			throw new \InvalidArgumentException('Input value is not valid base64 data.');
 		}
 
 		$iv = substr($value, 0, static::iv_size());
@@ -92,4 +92,4 @@ class Crypter {
 		return Config::$items['application']['key'];
 	}
 
-}
+}