|
@@ -91,7 +91,7 @@ function template_kick_guest()
|
|
|
// This isn't that much... just like normal login but with a message at the top.
|
|
|
echo '
|
|
|
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script>
|
|
|
- <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" name="frmLogin" id="frmLogin"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
|
|
|
+ <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" name="frmLogin" id="frmLogin"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\', \'' . (!empty($context['login_token']) ? $context['login_token'] : '') . '\');"' : '', '>
|
|
|
<div class="tborder login">
|
|
|
<div class="cat_bar">
|
|
|
<h3 class="catbg">', $txt['warning'], '</h3>
|
|
@@ -204,7 +204,7 @@ function template_admin_login()
|
|
|
echo '
|
|
|
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script>
|
|
|
|
|
|
-<form action="', $scripturl, $context['get_data'], '" method="post" accept-charset="', $context['character_set'], '" name="frmLogin" id="frmLogin" onsubmit="hash', ucfirst($context['sessionCheckType']), 'Password(this, \'', $context['user']['username'], '\', \'', $context['session_id'], '\');">
|
|
|
+<form action="', $scripturl, $context['get_data'], '" method="post" accept-charset="', $context['character_set'], '" name="frmLogin" id="frmLogin" onsubmit="hash', ucfirst($context['sessionCheckType']), 'Password(this, \'', $context['user']['username'], '\', \'', $context['session_id'], '\', \'' . (!empty($context['login_token']) ? $context['login_token'] : '') . '\');">
|
|
|
<div class="tborder login" id="admin_login">
|
|
|
<div class="cat_bar">
|
|
|
<h3 class="catbg">
|