[livejournal] r19640: LJSUP-9334: New auth system for external...
Committer: vad
LJSUP-9334: New auth system for external domainsU trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm 2011-08-08 09:22:51 UTC (rev 19639)
+++ trunk/cgi-bin/Apache/LiveJournal.pm 2011-08-08 14:32:56 UTC (rev 19640)
@@ -1132,6 +1132,8 @@
return LJ::Request::NOT_FOUND;
}
+ $u = LJ::want_user($u);
+
my $view = $determine_view->($u->user, "other:$host$hostport", $uri);
return $view if defined $view;
LJ::Request->pnotes ('error' => 'baduser');
