mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
10 lines
213 B
Ruby
10 lines
213 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "common_passwords"
|
|
|
|
class ClearCommonPasswordsCache < ActiveRecord::Migration[4.2]
|
|
def change
|
|
Discourse.redis.without_namespace.del CommonPasswords::LIST_KEY
|
|
end
|
|
end
|