Skip to content

Commit 6538852

Browse files
committed
Make sure we clear the cache after generating forgot_password_secret #646
1 parent 7171c53 commit 6538852

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

application/hooks/2_settings.php

+1
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,5 @@
6868
$key = text::random($pool, 64);
6969
Settings_Model::save_setting('forgot_password_secret', $key);
7070
Kohana::config_set('settings.forgot_password_secret', $key);
71+
$cache->delete($subdomain.'_settings');
7172
}

0 commit comments

Comments
 (0)