bhavicp Posted September 8, 2019 Share Posted September 8, 2019 Hi, We have our own page which does stuff relating to our services which we provide to clients. We used to do the below to check if the client was logged in, if not, present a simple form and push this to dologin.php?goto=manage so this was very seamless and the client never had to see our "billing" portal. This has been broken for the last couple of WHMCS releases, but I can't figure out why. Anyone do anything similar? //Not logged on if (!$_SESSION['uid']) { if ($_GET['incorrect'] == true) { echo '<div align="center" class="errorbox">Login Details Incorrect. Please try again.</div>'; } ?> <div> <div align="center" style="font-size:120%;"><span><a>Please</a> <strong><a href="whmcs/clientarea.php">login</a></strong></span><br /> <br /> <form method="post" action="whmcs/dologin.php?goto=manage"> Email Address: <input type="text" name="username" size="50" /><br /> Password: <input type="password" name="password" size="50" autocomplete="off" /><br /> <input type="submit" value="Login" /> </form> </div> </div> 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.