Overview
Comment: | Redirect to login page after logout, and use configured website URL if provided, for return URL |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA3-256: |
430a3c262c0c3736c3551ed30df8d230 |
User & Date: | bohwaz on 2021-11-11 22:01:49 |
Other Links: | manifest | tags |
Context
2021-11-11
| ||
22:12 | When there is no fee for the service, you can still subscribe a user to a service, it just doesn't have a fee check-in: 404078a801 user: bohwaz tags: trunk, stable | |
22:01 | Redirect to login page after logout, and use configured website URL if provided, for return URL check-in: 430a3c262c user: bohwaz tags: trunk, stable | |
2021-11-09
| ||
23:58 | Fix user import: trim only email address check-in: 0cb95b50f8 user: bohwaz tags: trunk, stable | |
Changes
Modified src/templates/admin/_head.tpl from [cd5caa4701] to [d5bd8a7f03].
︙ | ︙ | |||
37 38 39 40 41 42 43 | <body{if isset($transparent)} class="transparent"{/if}> {if !array_key_exists('_dialog', $_GET) && !isset($transparent)} <header class="header"> <nav class="menu"> <ul> {if !$is_logged} | | | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | <body{if isset($transparent)} class="transparent"{/if}> {if !array_key_exists('_dialog', $_GET) && !isset($transparent)} <header class="header"> <nav class="menu"> <ul> {if !$is_logged} <li><a href="{if $config.site_asso}{$config.site_asso}{else}{$www_url}{/if}">← Retour au site</a></li> <li><a href="{$admin_url}">Connexion</a> <ul> <li><a href="{$admin_url}password.php">Mot de passe perdu</a> </ul> </li> {else} <?php |
︙ | ︙ |
Modified src/www/admin/logout.php from [89dde98700] to [4cb085e6f9].
1 2 3 4 5 6 7 | <?php namespace Garradin; const LOGIN_PROCESS = true; require_once __DIR__ . '/_inc.php'; $session->logout(); | | | 1 2 3 4 5 6 7 8 | <?php namespace Garradin; const LOGIN_PROCESS = true; require_once __DIR__ . '/_inc.php'; $session->logout(); Utils::redirect('!login.php'); |