We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a723e6e + cfef12e commit fb801e6Copy full SHA for fb801e6
src/Factories/PasswordExposedCheckerFactory.php
@@ -33,6 +33,10 @@ public function instance()
33
*/
34
private function getCacheDirectory()
35
{
36
- return storage_path('password-exposed-cache/');
+ if (function_exists('storage_path')) {
37
+ return storage_path('app/password-exposed-cache/');
38
+ }
39
+
40
+ return sys_get_temp_dir().'/password-exposed-cache/';
41
}
42
0 commit comments