1.12.0
-
The
#rails_cookies
shorthand was added onRodauth::Rails::App
andRodauth::Rails::Auth
for accessing the Rails request's cookie jar (the same as#cookies
in controllers). -
The
#turbo_stream
method is now exposed onRodauth::Rails::Auth
when using the turbo-rails gem, for easier generation of turbo stream responses. -
When running
rodauth:install
with--jwt
or--argon2
options, the generatedjwt_secret
andargon2_secret
now default tohmac_secret
(which in turn defaults to Rails secret key base), instead of having a hardcoded secret. -
The
rodauth:install
generator now includesRodauth::Model(RodauthMain)
into the account model, which is essentially whatRodauth::Rails.model
did. This makesRodauth::Rails.model
soft-deprecated. -
The Rodauth app now forwards all unhandled requests to the Rails router, even those that partially matched a Roda matcher.
-
The
rodauth:views
generator can now generate the view template for theconfirm_password
feature as well (thanks to @igor-alexandrov).