[TYPO3-english] felogin on every page fails, logout works

Tony Lush tlush at advancewm.com
Thu May 12 17:29:05 CEST 2011


I am trying to put a login form on every page, substituting a logout 
form when someone is logged in.

Every time an existing user tries to log in, the browser asks if they 
want to change their password and they get a login failure. The same 
credentials work on the default login page.

When they are logged in, the logout button works.

My TS is:

# Login user
#######################################
postCodeFooter= TEXT
postCodeFooter.insertData = 1
postCodeFooter.value (
<div id="awm_login">
<form action="index.php?id=90" method="post">
<input type="text" id="user" name="user" class="top_login" value="User 
Name" />
<input type="password" id="pass" name="pass" class="top_login" value="" />
<input type="submit" name="submit" value="Login" class="login_button" />
<input type="hidden" name="logintype" value="login" />
<input type="hidden" name="pid" value="87" />
</form>
</div>
)

# Logout user
#######################################
[loginUser = *]
postCodeFooter.value (
<div id="awm_login">
<form action="index.php?id=90" method="post">

	<b><!--###USERNAME###--> </b>
	<input type="submit" name="submit" value="Logout" class="login_button"/>
	<input type="hidden" name="logintype" value="logout" />
	<input type="hidden" name="pid" value="87" />
</form>
</div>
)
[GLOBAL]

Thank you -- Tony


More information about the TYPO3-english mailing list