[ postfixadmin-Patches-2972300 ] user home site is main.php not login.php
Brought to you by:
christian_boltz,
gingerdog
|
From: SourceForge.net <no...@so...> - 2010-03-17 23:48:23
|
Patches item #2972300, was opened at 2010-03-18 00:48 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2972300&group_id=191583 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Valkum () Assigned to: Nobody/Anonymous (nobody) Summary: user home site is main.php not login.php Initial Comment: When access postfixlink.de/users you should redirected to main if you logged in when not to login. Therefor i have change some files. users/index.php header... to header ("Location: main.php"); users/function.inc.php in authentication_require_role('user'); replace: header("Location: " . $CONF['postfix_admin_url'] . "/login.php"); with: if ( $role == 'user') { header("Location: " . $CONF['postfix_admin_url'] . "/users/login.php"); } else { header("Location: " . $CONF['postfix_admin_url'] . "/login.php"); } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2972300&group_id=191583 |