Sha256: 6e3c80b189dbb1ab343c932e8bb9c7386988f23b1452bde9d9a0c0858df914cb
Contents?: true
Size: 419 Bytes
Versions: 35
Compression:
Stored size: 419 Bytes
Contents
= Skip login page if already authenticated In some cases it may be useful to skip login/registration pages when the user is already logged in. This can be achieved as follows. Note that this only matters if the user manually navigates to the login or create account pages. plugin :rodauth do # Redirect logged in users to the wherever login redirects to already_logged_in { redirect login_redirect } end
Version data entries
35 entries across 35 versions & 1 rubygems