Closed saizai closed 8 years ago
In user model, just do this to define custom weak words:
def weak_words ['mysitename', self.name, self.username, self.pet_name] end
(Also, I've local-memoized the self.email & self.weak_words calls for efficiency.)
Thanks, I'm away for a few weeks but will review this when I get back.
@matthewford Fixed.
@saizai would it be possible to rebase onto master?
@matthewford Done.
/ping @matthewford
In user model, just do this to define custom weak words:
(Also, I've local-memoized the self.email & self.weak_words calls for efficiency.)