Sha256: 0b24b5a5d0b83792dfd9bf5b2e3b576f3a8d3321a4441cada7889f5e4991a1e1
Contents?: true
Size: 530 Bytes
Versions: 35
Compression:
Stored size: 530 Bytes
Contents
= Change redirect destination You can change the redirect destination for any Rodauth action by overriding the corresponding <tt>*_redirect</tt> method: plugin :rodauth do enable :login, :logout, :create_account, :reset_password # Redirect to "/dashboard" after login login_redirect "/dashboard" # Redirect to wherever login redirects to after creating account create_account_redirect { login_redirect } # Redirect to login page after password reset reset_password_redirect { login_path } end
Version data entries
35 entries across 35 versions & 1 rubygems