New Features¶ ↑
-
A rodauth.current_route method has been added for returning the route name symbol (if rodauth is currently handling the route). This makes it simpler to write code that extends
Rodauthand works with applications that use override the default route names. -
A remove_all_active_sessions_except_for method has been added to the active_sessions feature, which removes all active sessions for the current account, except for the session id given.
-
A remove_all_active_sessions_except_current method has been added to the active_sessions feature, which removes all active sessions for the current account, except for the current session.
Improvements¶ ↑
-
Rodauthnow supports overriding webauthn_rp_id in the webauthn feature. -
When using the login feature,
Rodauthnow defaults require_login_redirect to use the path to the login route, instead of /login. -
When setting up multifactor authentication,
Rodauthnow handles the case where account has been deleted, instead of raising an exception. -
When a database connection is not available during startup,
Rodauthnow handles that case instead of raising an exception. Note that in this case,Rodauthcannot automatically setup a conversion of token ids to integer, since it cannot determine whether the underlying database column uses an integer type. -
When using WebAuthn 3+,
Rodauthno longer defines singleton methods to work around limitations in WebAuthn. Instead, it uses public APIs that were added in WebAuthn 3.