@ -125,7 +125,9 @@ class User(Document):
def save(self, *args, **kwargs):
if self.union:
self.member_no = User.objects.filter(union=self.union).count()
self.password = generate_password_hash(self.password)
if self.password.find('pbkdf2:') == -1: