Skip to content

Commit 21c3ef9

Browse files
committed
Merge branch '8.x'
# Conflicts: # CHANGELOG.md
2 parents 195a7e0 + f8ff35e commit 21c3ef9

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Release Notes
22

3-
## [Unreleased](https://github.com/laravel/laravel/compare/v8.6.6...master)
3+
## [Unreleased](https://github.com/laravel/laravel/compare/v8.6.7...master)
4+
5+
6+
## [v8.6.7 (2021-11-16)](https://github.com/laravel/laravel/compare/v8.6.6...v8.6.7)
7+
8+
### Changed
9+
- Added `declined` and `declined_if` validation rules ([#5723](https://github.com/laravel/laravel/pull/5723))
10+
- Should be identical with current sanctum config file ([#5725](https://github.com/laravel/laravel/pull/5725))
411

512

613
## [v8.6.6 (2021-11-09)](https://github.com/laravel/laravel/compare/v8.6.5...v8.6.6)

config/sanctum.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,20 @@
1919
env('APP_URL') ? ','.parse_url(env('APP_URL'), PHP_URL_HOST) : ''
2020
))),
2121

22+
/*
23+
|--------------------------------------------------------------------------
24+
| Sanctum Guards
25+
|--------------------------------------------------------------------------
26+
|
27+
| This array contains the authentication guards that will be checked when
28+
| Sanctum is trying to authenticate a request. If none of these guards
29+
| are able to authenticate the request, Sanctum will use the bearer
30+
| token that's present on an incoming request for authentication.
31+
|
32+
*/
33+
34+
'guard' => ['web'],
35+
2236
/*
2337
|--------------------------------------------------------------------------
2438
| Expiration Minutes

lang/en/validation.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
'date' => 'The :attribute is not a valid date.',
3737
'date_equals' => 'The :attribute must be a date equal to :date.',
3838
'date_format' => 'The :attribute does not match the format :format.',
39+
'declined' => 'The :attribute must be declined.',
40+
'declined_if' => 'The :attribute must be declined when :other is :value.',
3941
'different' => 'The :attribute and :other must be different.',
4042
'digits' => 'The :attribute must be :digits digits.',
4143
'digits_between' => 'The :attribute must be between :min and :max digits.',

0 commit comments

Comments
 (0)