Sha256: 6720b1999db918ba3811e2f7e8c61dfbfaabf356362b415aede408859945a624

Contents?: true

Size: 1.47 KB

Versions: 34

Compression:

Stored size: 1.47 KB

Contents

= New Features

* Configuration methods have been added for easier validation of
  logins when logins must be valid email addresses (the default):

  * login_valid_email?(login) can be used for full control of
    determining whether the login is valid.

  * login_email_regexp can be used to set the regexp used in the
    default login_valid_email? check.

  * login_not_valid_email_message can be used to set the field
    error message if the login is not a valid email.  Previously, this
    value was hardcoded and not translatable.

* The {create,drop}_database_authentication_functions now work
  correctly with uuid keys on PostgreSQL.  All other parts of
  Rodauth already worked correctly with uuid keys.

= Other Improvements

* The before_jwt_refresh_route hook is now called before the route
  is taken. Previously, the configuration method had no effect.

* rodauth.login can now be used by external code to login the current
  account (the account that rodauth.account returns).  This should be
  passed the authentication type string used to login, such as
  password.

* The jwt_refresh route now returns an error for requests where a
  valid access token for a logged in session is not provided.  You
  can use the jwt_refresh_without_access_token_message and
  jwt_refresh_without_access_token_status configuration methods
  to configure the error response.

* The new refresh token is now available to the after_refresh_token
  hook by looking in json_response[jwt_refresh_token_key].

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
rodauth-2.36.0 doc/release_notes/2.3.0.txt
rodauth-2.34.0 doc/release_notes/2.3.0.txt
rodauth-2.33.0 doc/release_notes/2.3.0.txt
rodauth-2.32.0 doc/release_notes/2.3.0.txt
rodauth-2.31.0 doc/release_notes/2.3.0.txt
rodauth-2.30.0 doc/release_notes/2.3.0.txt
rodauth-2.29.0 doc/release_notes/2.3.0.txt
rodauth-2.28.0 doc/release_notes/2.3.0.txt
rodauth-2.27.0 doc/release_notes/2.3.0.txt
rodauth-2.26.1 doc/release_notes/2.3.0.txt
rodauth-2.26.0 doc/release_notes/2.3.0.txt
rodauth-2.25.0 doc/release_notes/2.3.0.txt
rodauth-2.24.0 doc/release_notes/2.3.0.txt
rodauth-2.23.0 doc/release_notes/2.3.0.txt
rodauth-2.22.0 doc/release_notes/2.3.0.txt
rodauth-2.21.0 doc/release_notes/2.3.0.txt
rodauth-2.20.0 doc/release_notes/2.3.0.txt
rodauth-2.19.0 doc/release_notes/2.3.0.txt
rodauth-2.18.0 doc/release_notes/2.3.0.txt
rodauth-2.17.0 doc/release_notes/2.3.0.txt