Monotone-Parent: 916c9f862b9a3055282ce374be1879734051ee31

Monotone-Revision: d20ec84ad2b4b3caf96c35a13c3f6b3c714ea6e3

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-09-05T17:57:17
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2007-09-05 17:57:17 +00:00
parent ae46d1ccb1
commit 3da1ca9aa1
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2007-09-05 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* 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.

View File

@ -24,6 +24,7 @@
#import <Foundation/NSString.h>
#import <Foundation/NSUserDefaults.h>
#import <NGObjWeb/SoDefaultRenderer.h>
#import <NGObjWeb/WOApplication.h>
#import <NGObjWeb/WOContext.h>
#import <NGObjWeb/WORequest.h>
@ -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 */