Commit 7576b896 authored by Kasper Skårhøj's avatar Kasper Skårhøj
Browse files

* Added "Login failure" message in backend login box

git-svn-id: 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 64968fcd
2004-04-23 Kasper Skårhøj,,, <>
* Added "Login failure" message in backend login box
2004-04-23 Kasper Skårhøj,,, <>
* Added to user authentication that the HTTP_USER_AGENT is hashed and a part of the session lookup (in other words, if the HTTP_USER_AGENT stays constant the session stays as well). Also added possibility of configuring that the IP adresse used to lock down sessions is only part 1,2,3 or 4 (all) used. Mainly this is easily configurable for frontend users (which has had the "security level" set to "2" now instead of disabled totally!). For backend users I didn't make configuration options in TYPO3_CONF_VARS - just wanted to know if people needed it there first (not to bloat options....)
......@@ -267,7 +267,10 @@ class SC_index {
<table cellspacing="0" cellpadding="0" border="0" id="logintable">
<td colspan="2"><h2>'.htmlspecialchars($this->L_vars[6]).'</h2></td>
</tr>'.($this->commandLI ? '
<tr class="c-wrong">
<td colspan="2"><p class="c-wrong">'.htmlspecialchars($this->L_vars[9]).'</p></td>
</tr>' : '').'
<tr class="c-username">
<td><p class="c-username">'.htmlspecialchars($this->L_vars[0]).':</p></td>
<td><input type="text" name="username" value="'.htmlspecialchars($this->u).'" class="c-username" /></td>
......@@ -259,6 +259,7 @@ TABLE#logintable TR TD { padding: 1px 1px 1px 1px;}
TABLE#logintable H2 { background-color: transparent; font-size: 14px; color: white; text-align: left; }
TABLE#logintable P { font-size: 12px; color: white; font-weight: bold; }
TABLE#logintable P.c-info { font-size: 10px; font-weight: normal; }
TABLE#logintable P.c-wrong { font-size: 10px; width: 300px; border: #62731A solid 1px; margin: 5px 0px 5px 0px; padding: 5px 15px 5px 15px; }
TABLE#logintable INPUT.c-username, TABLE#logintable INPUT.c-password, TABLE#logintable SELECT.c-interfaceselector { width: 150px; }
TABLE#logintable INPUT { border: #62731A solid 1px; background-color: white; }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment