[ 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-24 12:44:18
|
Patches item #2972300, was opened at 2010-03-17 23:48 Message generated for change (Settings changed) made by gingerdog 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: Closed >Resolution: Fixed 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"); } ---------------------------------------------------------------------- >Comment By: GingerDog (gingerdog) Date: 2010-03-24 12:44 Message: merged in changeset 815 - thank you for submitting the patch. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2972300&group_id=191583 |