X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Floginout%2Flogin.html;h=1785ea796b9865c76c0ce82689d194a33e97164c;hb=HEAD;hp=d06d0a8fc04fd6cd481ef1093d81189dee6bd031;hpb=63973c641c4be00765fa27e55c57cc5b9aa4da19;p=freeside.git diff --git a/httemplate/loginout/login.html b/httemplate/loginout/login.html index d06d0a8fc..1785ea796 100644 --- a/httemplate/loginout/login.html +++ b/httemplate/loginout/login.html @@ -1,5 +1,5 @@ <& /elements/header-minimal.html, 'Login' &> - +
@@ -13,10 +13,12 @@ % } %#
+% my $uri = $r->prev->uri; +% $uri .= '?'. $r->prev->args if length( $r->prev->args ); - + - +
@@ -25,6 +27,10 @@ + + + +
Username: Password:
One-time code:

@@ -40,12 +46,12 @@ 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.', ); my $error = # $cgi->param('logout') || - $r->prev->subprocess_env("AuthCookieReason"); + $r->prev->subprocess_env('AuthCookieReason'); $error = exists($error{$error}) ? $error{$error} : $error;