Check that user object exists.
Patch by denise.
diffs (12 lines):
diff -r 1663a354f952 -r 3bf4a5b125e5 htdocs/login.bml
--- a/htdocs/login.bml Tue Aug 04 15:44:15 2009 +0000
+++ b/htdocs/login.bml Tue Aug 04 15:52:13 2009 +0000
@@ -319,7 +319,7 @@
}
push @errors, [ account_locked => 'This account is locked and
cannot be logged in to at this time.' ]
- if $u->is_locked;
+ if $u && $u->is_locked;
if (@errors) {
$login_html->();
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog