Block passwords that are in the top 5000 most common passwords. Site setting block_common_passwords can disable this feature.

This commit is contained in:
Neil Lalonde
2013-12-20 16:34:34 -05:00
parent b4f547b3e2
commit ab12695d63
11 changed files with 10204 additions and 35 deletions

View File

@ -24,6 +24,11 @@ class DiscourseRedis
@redis = DiscourseRedis.raw_connection(@config)
end
def without_namespace
# Only use this if you want to store and fetch data that's shared between sites
@redis
end
def url
self.class.url(@config)
end