Skip to content

Commit de70d28

Browse files
Merge branch 'hotfix/error-cache' into 'master'
change error message if not exist cache See merge request TemplateMonster/PlasmaPlatform/Services/yii2-oauth2-auth-filter!10
2 parents ed3b494 + aea32e1 commit de70d28

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [1.2.4] - 2021-12-01
5+
### Updated
6+
- change error message if not exist cache
7+
48
## [1.2.3] - 2021-10-29
59
### Fixed
610
- requestAccessToken function response type with use cache

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ The preferred way to install this extension is through [composer](http://getcomp
1414
Either run
1515

1616
```
17-
composer require indigerd/yii2-oauth2-auth-filter "1.2.3"
17+
composer require indigerd/yii2-oauth2-auth-filter "1.2.4"
1818
```
1919

2020
or add
2121

2222
```
23-
"indigerd/yii2-oauth2-auth-filter": "1.2.3"
23+
"indigerd/yii2-oauth2-auth-filter": "1.2.4"
2424
```
2525

2626
to the require section of your `composer.json` file.
@@ -30,4 +30,4 @@ Usage
3030
-----
3131

3232
[CHANGELOG]: ./CHANGELOG.md
33-
[version-badge]: https://img.shields.io/badge/version-1.2.3-blue.svg
33+
[version-badge]: https://img.shields.io/badge/version-1.2.4-blue.svg

src/authfilter/Module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ private function initCacheInstance()
189189
try {
190190
$this->cache = Instance::ensure($this->cache, 'yii\caching\CacheInterface');
191191
} catch (InvalidConfigException $e) {
192-
Yii::warning('Unable to use cache for URL manager: ' . $e->getMessage());
192+
Yii::warning('Unable to use cache for Auth filter: ' . $e->getMessage());
193193
}
194194
}
195195
}

0 commit comments

Comments
 (0)