Skip to content

Commit d94408d

Browse files
committed
Merge branch 'master' into develop
2 parents 73f37c6 + fbd93f6 commit d94408d

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

app/config/auth.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,19 @@
5252
| that should be used as your password reminder e-mail. You will also
5353
| be able to set the name of the table that holds the reset tokens.
5454
|
55+
| The "expire" time is the number of minutes that the reminder should be
56+
| considered valid. This security feature keeps tokens short-lived so
57+
| they have less time to be guessed. You may change this as needed.
58+
|
5559
*/
5660

5761
'reminder' => array(
5862

59-
'email' => 'emails.auth.reminder', 'table' => 'password_reminders',
63+
'email' => 'emails.auth.reminder',
64+
65+
'table' => 'password_reminders',
66+
67+
'expire' => 60,
6068

6169
),
6270

app/config/session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
|--------------------------------------------------------------------------
2525
|
2626
| Here you may specify the number of minutes that you wish the session
27-
| to be allowed to remain idle for it is expired. If you want them
27+
| to be allowed to remain idle before it expires. If you want them
2828
| to immediately expire when the browser closes, set it to zero.
2929
|
3030
*/

app/lang/en/validation.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@
1919
"alpha" => "The :attribute may only contain letters.",
2020
"alpha_dash" => "The :attribute may only contain letters, numbers, and dashes.",
2121
"alpha_num" => "The :attribute may only contain letters and numbers.",
22+
"array" => "The :attribute must be an array.",
2223
"before" => "The :attribute must be a date before :date.",
2324
"between" => array(
2425
"numeric" => "The :attribute must be between :min - :max.",
2526
"file" => "The :attribute must be between :min - :max kilobytes.",
2627
"string" => "The :attribute must be between :min - :max characters.",
28+
"array" => "The :attribute must have between :min - :max items.",
2729
),
2830
"confirmed" => "The :attribute confirmation does not match.",
2931
"date" => "The :attribute is not a valid date.",
@@ -41,12 +43,14 @@
4143
"numeric" => "The :attribute may not be greater than :max.",
4244
"file" => "The :attribute may not be greater than :max kilobytes.",
4345
"string" => "The :attribute may not be greater than :max characters.",
46+
"array" => "The :attribute may not have more than :max items.",
4447
),
4548
"mimes" => "The :attribute must be a file of type: :values.",
4649
"min" => array(
4750
"numeric" => "The :attribute must be at least :min.",
4851
"file" => "The :attribute must be at least :min kilobytes.",
4952
"string" => "The :attribute must be at least :min characters.",
53+
"array" => "The :attribute must have at least :min items.",
5054
),
5155
"not_in" => "The selected :attribute is invalid.",
5256
"numeric" => "The :attribute must be a number.",
@@ -60,6 +64,7 @@
6064
"numeric" => "The :attribute must be :size.",
6165
"file" => "The :attribute must be :size kilobytes.",
6266
"string" => "The :attribute must be :size characters.",
67+
"array" => "The :attribute must contain :size items.",
6368
),
6469
"unique" => "The :attribute has already been taken.",
6570
"url" => "The :attribute format is invalid.",

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "laravel/laravel",
33
"description": "The Laravel Framework.",
44
"keywords": ["framework", "laravel"],
5+
"license": "MIT",
56
"require": {
67
"laravel/framework": "4.1.*"
78
},

0 commit comments

Comments
 (0)