diff --git a/docs/configuration.rst b/docs/configuration.rst index 5e49c77..ab28904 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -24,15 +24,10 @@ Core production systems are ``bcrypt``, ``sha512_crypt``, or ``pbkdf2_sha512``. Defaults to ``plaintext``. -``SECURITY_PASSWORD_HMAC`` Specifies if Flask-Security should also - use HMAC when encrypting and decrypting - passwords. If set to ``True`` be sure - to specify a salt value via the - ``SECURITY_PASSWORD_HMAC_SALT`` - configuration option. Defaults to - ``False``. -``SECURITY_PASSWORD_HMAC_SALT`` Specifies the HMAC salt. Defaults to - ``None``. +``SECURITY_PASSWORD_SALT`` Specifies the HMAC salt. This is only + used if the password hash type is set + to something other than plain text. + Defaults to ``None``. ``SECURITY_EMAIL_SENDER`` Specifies the email address to send emails as. Defaults to ``no-reply@localhost``. diff --git a/docs/models.rst b/docs/models.rst index 4119c01..6ea6b15 100644 --- a/docs/models.rst +++ b/docs/models.rst @@ -10,16 +10,16 @@ and `Role` model should include the following fields: **User** -* id -* email -* password -* active +* ``id`` +* ``email`` +* ``password`` +* ``active`` **Role** -* id -* name -* description +* ``id`` +* ``name`` +* ``description`` Additional Functionality @@ -35,7 +35,7 @@ If you enable account confirmation by setting your application's `SECURITY_CONFIRMABLE` configuration value to `True` your `User` model will require the following additional field: -* confirmed_at +* ``confirmed_at`` Trackable ^^^^^^^^^ @@ -44,8 +44,8 @@ If you enable user tracking by setting your application's `SECURITY_TRACKABLE` configuration value to `True` your `User` model will require the following additional fields: -* last_login_at -* current_login_at -* last_login_ip -* current_login_ip -* login_count \ No newline at end of file +* ``last_login_at`` +* ``current_login_at`` +* ``last_login_ip`` +* ``current_login_ip`` +* ``login_count`` \ No newline at end of file