Revision 4fbc8429
Added by Jim Pingle almost 14 years ago
etc/inc/authgui.inc | ||
---|---|---|
265 | 265 |
<?=gettext("Enter username and password to login."); ?> |
266 | 266 |
</span> |
267 | 267 |
|
268 |
<? if (!$have_cookies): ?> |
|
268 |
<? if (!$have_cookies && isset($_POST['login'])): ?>
|
|
269 | 269 |
<br/><br/> |
270 | 270 |
<span style="text-align:center; font-weight: normal ; font-style: italic; color: #ff0000"> |
271 | 271 |
<?= gettext("Your browser must support cookies to login."); ?> |
Also available in: Unified diff
Only do cookie check if the form has already been posted. The cookie check is not accurate for the first page load after a browser has been opened, has to be at least one refresh/post first.