Redirect After Login

By BibLibre Redirect users to a different URL after login
Download 0.4.0

Redirect After Login

This Omeka S module adds support for a redirect_url query parameter to /login route. It allows to change where users are redirected after a successful login. redirect_url must start with / (absolute URLs are forbidden for security reasons).

Already logged in users that hit the /login page with a redirect_url query parameter set are automatically redirected to the value of redirect_url parameter without seeing the login form.

Usage

In your theme, you can use:

<?php echo $this->hyperlink('Login', $this->url('login', [], ['query' => ['redirect_url' => '/s/site1']])); ?>

License

GPL 3.0 or later

Version Released Minimum Omeka version
0.4.0August 29, 2024 [info]^2.0.0 || ^3.0.0 || ^4.0.0
0.3.0June 16, 2023 [info]^2.0.0 || ^3.0.0 || ^4.0.0
0.2.0October 24, 2022 [info]^2.0.0 || ^3.0.0
0.1.0December 01, 2020 [info]^2.0.0