Jump to content

[RESOLU] problème de connexion blockmyaccount


Recommended Posts

Bonjour,

 

il est impossible de se connecter via la blockmyaccount.

 

Par contre la connexion ne pose aucun problème lorsque je rentre les identifiants via la page d'authentification

 

j'ai eu beau reinstaller le module ou en mettre un nouveau rien n'y fait

 

merci de votre aide

 

pseudo : [email protected]

mode de passe : tests

 

voici le tpl de blockmyaccount

 

<!-- Block myaccount module -->
{if $logged}
<div class="block myaccount">
<h4><a href="{$base_dir_ssl}my-account.php">{l s='My account' mod='blockmyaccount'}</a></h4>

<div class="block_content">
	{if $displayhello}
	<center><b>{l s='Hello' mod='blockmyaccount'} {$customerName}</b></center>
	{/if}
	<ul class="bullet">
		<li><a href="{$base_dir_ssl}history.php" title="">{l s='My orders' mod='blockmyaccount'}</a></li>
		{if $returnAllowed}
		<li><a href="{$base_dir_ssl}order-follow.php" title="">{l s='My merchandise returns' mod='blockmyaccount'}</a></li>
		{/if}
		<li><a href="{$base_dir_ssl}order-slip.php" title="">{l s='My credit slips' mod='blockmyaccount'}</a></li>
		<li><a href="{$base_dir_ssl}addresses.php" title="">{l s='My addresses' mod='blockmyaccount'}</a></li>
		<li><a href="{$base_dir_ssl}identity.php" title="">{l s='My personal info' mod='blockmyaccount'}</a></li>
		{if $voucherAllowed}
		<li><a href="{$base_dir_ssl}discount.php" title="">{l s='My vouchers' mod='blockmyaccount'}</a></li>
		{/if}
		{$HOOK_BLOCK_MY_ACCOUNT}
	</ul>
	<p class="logout">
		<a href="{$base_dir}index.php?mylogout" title="{l s='Log out' mod='blockmyaccount'}">{l s='Log out' mod='blockmyaccount'}</a>
	</p>
</div>
</div>
{else}
<div id="connexion_block_left" class="block">
<h4>{l s='My account' mod='blockmyaccount'}</h4>
	<div class="block_content">
		<form action="{$base_dir}authentication.php" method="post">

			<p class="text">
				<label for="email">{l s='E-mail address' mod='blockmyaccount'}</label>
					<span>
						<input type="text" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall'|stripslashes}{/if}" class="account_input" />
					</span>
			</p>

			<p class="text">
				<label for="passwd">{l s='Password' mod='blockmyaccount'}</label>
					<span>
						<input type="password" id="passwd" name="passwd" value="{if isset($smarty.post.passwd)}{$smarty.post.passwd|escape:'htmlall'|stripslashes}{/if}" class="account_input" />
					</span>
			</p>
			<br/>
			<p class="text">
				{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if}
				<center>
				<input type="submit" id="SubmitLogin" name="SubmitLogin" class="button" value="{l s='Log in' mod='blockmyaccount'}" />
				</center>
			</p>

			{if $displaypassword}
			<p class="text">
				<a href="{$base_dir}password.php">{l s='Forgot your password?' mod='blockmyaccount'}</a>
			</p>
			{/if}

			{if $displayregister}
			<p class="text">
				<a href="my-account.php">{l s='No account yet?' mod='blockmyaccount'}
			</p>
			{/if}
</form>

</div>  
</div>  
{/if}
<!-- /Block myaccount module -->

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...