[server] Use CryptContext's hash method instead of deprecated encrypt method
Getting rid of the following deprecation warning:
::
the method passlib.context.CryptContext.encrypt() is deprecated as of
Passlib 1.7, and will be removed in Passlib 2.0, use CryptContext.hash()
instead.
Document: cubicweb-doc
Title: CubicWeb Documentation
Author: Logilab
Abstract: Some base documentation for CubicWeb users and developpers
Section: Apps/Programming
Format: HTML
Index: /usr/share/doc/python-cubicweb-documentation/html/index.html
Files: /usr/share/doc/python-cubicweb-documentation/html/*