From 3da1ca9aa10322b7947ab444ca1b1e56e33b53c0 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 5 Sep 2007 17:57:17 +0000 Subject: [PATCH] Monotone-Parent: 916c9f862b9a3055282ce374be1879734051ee31 Monotone-Revision: d20ec84ad2b4b3caf96c35a13c3f6b3c714ea6e3 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-09-05T17:57:17 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ SoObjects/SOGo/SOGoWebAuthenticator.m | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d13f95d6c..304011c3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-09-05 Wolfgang Sourdeau + * SoObjects/SOGo/SOGoWebAuthenticator.m ([SOGoWebAuthenticator + -setupAuthFailResponse:responsewithReason:reasoninContext:context]): + render the login page through the SoDefaultRenderer. + * UI/MainUI/SOGoRootPage.m ([SOGoRootPage -isPublicInContext:localContext]): new overriden method that returns YES. diff --git a/SoObjects/SOGo/SOGoWebAuthenticator.m b/SoObjects/SOGo/SOGoWebAuthenticator.m index 9bd84e2a5..7692c2396 100644 --- a/SoObjects/SOGo/SOGoWebAuthenticator.m +++ b/SoObjects/SOGo/SOGoWebAuthenticator.m @@ -24,6 +24,7 @@ #import #import +#import #import #import #import @@ -118,11 +119,12 @@ withReason: (NSString *) reason inContext: (WOContext *) context { - id page; + WOComponent *page; page = [[WOApplication application] pageWithName: @"SOGoRootPage" forRequest: [context request]]; - [page appendToResponse: response inContext: context]; + [[SoDefaultRenderer sharedRenderer] renderObject: page + inContext: context]; } @end /* SOGoWebAuthenticator */