Jump to content

Login&LogOut


PockerRock

Recommended Posts

try this....

go to core\templates and fidn the login_form.tpl file

in there you must have this

<h3 style="text-align:center">Login</h3>
<form name="loginform" action="<?php echo url('/login');?>" method="post">
<?php echo "<?xml version='1.0'?>"; ?>
<?php
if(isset($message))
echo '<p class="error">'.$message.'</p>';
?>
<center>
<dl>
<dt>E-mail Address:</dt>
<dd><input type="text" name="email" value="" />

<dt>Password:</dt>
<dd><input type="password" name="password" value="" />

<dt></dt>
<dd>Remember Me? <input type="checkbox" name="remember" /></dd>
<dt></dt>
<dd><input type="hidden" name="redir" value="index.php/profile" />
 <input type="hidden" name="action" value="login" />
 <input type="submit" name="submit" value="Log In" />


<dt></dt>
<dd><a href="<?php echo url('Login/forgotpassword'); ?>">I forgot my password</a></dd>
</dl>
</center>
</form>

Link to comment
Share on other sites

<h1>Login</h1>
<form name="loginform" action="<?php echo url('/login');?>" method="post">
<?php echo "<?xml version='1.0'?>"; ?>
<?php
if(isset($message))
echo '<p class="error">'.$message.'</p>';
?>
<dl>
<dt>E-mail Address:</dt>
<dd><input type="text" name="email" value="" />

<dt>Password:</dt>
<dd><input type="password" name="password" value="" />

<dt></dt>
<dd>Remember Me? <input type="checkbox" name="remember" /></dd>
<dt></dt>
<dd><input type="hidden" name="redir" value="index.php/profile" />
 <input type="hidden" name="action" value="login" />
 <input type="submit" name="submit" value="Log In" />


<dt></dt>
<dd><a href="<?php echo url('Login/forgotpassword'); ?>">I forgot my password</a></dd>
</dl>
</form>

Above is what i have in login_form, probably that is not the problem in my case, thanks for your answer, would keep looking for a solution.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...