default to a session cookie instead of setting an explicit timeout, weird timezone...
[freeside.git] / httemplate / loginout / login.html
index 8d599ad..1785ea7 100644 (file)
@@ -1,5 +1,5 @@
 <& /elements/header-minimal.html, 'Login' &>
-<link href="<%$url_string%>elements/freeside.css" type="text/css" rel="stylesheet">
+<link href="<%$url_string%>elements/freeside.css?v=<% $FS::VERSION %>" type="text/css" rel="stylesheet">
 
 <CENTER>
 
@@ -18,7 +18,7 @@
   <FORM METHOD="POST" ACTION="/login">
     <INPUT TYPE="hidden" NAME="destination" VALUE="<% $uri %>">
 
-    <TABLE CELLSPACING=0 CELLPADDING=4 BGCOLOR="#cccccc">
+    <TABLE CELLSPACING=0 CELLPADDING=4 CLASS="fsinnerbox">
       <TR>
         <TD ALIGN="right">Username: </TD>
         <TD><INPUT TYPE="text" NAME="credential_0" SIZE="13"></TD>
         <TD ALIGN="right">Password: </TD>
         <TD><INPUT TYPE="password" NAME="credential_1" SIZE="13"></TD>
       </TR>
+      <TR>
+        <TD ALIGN="right">One-time code: </TD>
+        <TD><INPUT TYPE="text" NAME="credential_2" SIZE="13"></TD>
+      </TR>
     </TABLE>
     <BR>
  
@@ -42,7 +46,7 @@
 my %error = (
   'no_cookie'       => '', #First login, don't display an error
   'bad_cookie'      => 'Bad Cookie', #timed out?
-  'bad_credentials' => 'Incorrect username / password',
+  'bad_credentials' => 'Incorrect username / password / one-time code',
   #'logout'          => 'You have been logged out.',
 );