mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix build & add migration to clear common passwords cache
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
require "common_passwords/common_passwords"
|
||||
|
||||
class ClearCommonPasswordsCache < ActiveRecord::Migration
|
||||
def change
|
||||
$redis.without_namespace.del CommonPasswords::LIST_KEY
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user