Skip to content

2.6.0

Choose a tag to compare

@CheeseCake87 CheeseCake87 released this 31 Oct 15:25

Version was increased by x.1.x due to some method name changes and args requirements.

Changes to Auth class:

Cleanup of methods and their docstrings.

is_username_valid method is now stable.

generate_private_key method will auto generate a hook if none is provided.

new generate_alphanumeric_validator method, used in favour of generate_numeric_validator in the generate_email_validator method.

new _attach_pepper method, made private to be coupled more close to password encryption.

new encrypt_password method now works with pepper_position.

new authenticate_password method now works with pepper_position.

Both above had renamed args to be more explicit.

The following methods have been made legacy, but still exist:

auth_password
hash_password
sha_password
generate_pepper
generate_form_token