Registration/login
Links
There are 4 links related to this topic
registration
login
logout
forgotten password
1. new links as redirections
if($current == "logout") e107::redirect(SITEURL."index.php?logout");
if($action == "register") e107::redirect(e_SIGNUP);
if($action == "login") e107::redirect(e_LOGIN);
if($action == "lostpassword") e107::redirect(SITEURL."fpw.php");Those files can be deleted:
user/registered.php
user/login.php
user/logout.php
user/lostpassword.php
2. changed panels data
to save efiction functionality otherwise, this is not needed
eFiction
logout
('logout', 'Logout', '', 1, 1, 0, 'U'),
password
('lostpassword', 'Lost Password', '', 0, 0, 1, 'U'),
register
('register', 'Register', '', 0, 0, 1, 'U'),
login
('login', 'Login', '', 0, 0, 1, 'U'),
e107
logout
('logout', 'Logout', 'login.php', 1, 1, 0, 'U'),
password
('lostpassword', 'Lost Password', 'fpw.php', 0, 0, 1, 'U'),
register
('register', 'Register', 'signup.php', 0, 0, 1, 'U'),
login
('login', 'Login', 'login.php', 0, 0, 1, 'U'),
Last updated