Skip to content

Instantly share code, notes, and snippets.

@shimakaze-git
Created October 20, 2019 06:33
Show Gist options
  • Save shimakaze-git/2063a7a233acf3e8ca6e19d757f8ebe0 to your computer and use it in GitHub Desktop.
Save shimakaze-git/2063a7a233acf3e8ca6e19d757f8ebe0 to your computer and use it in GitHub Desktop.
base_user.py
def set_password(self, raw_password):
self.password = make_password(raw_password)
self._password = raw_password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment