Monotone-Parent: 678f408cc158a19d36fc3c0d6f53b3434a652542

Monotone-Revision: 645b1645665a00c2914161e8e43c5c8917f22935

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-09-11T19:36:40
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-09-11 19:36:40 +00:00
parent ee7859f87e
commit 722882c34d
3 changed files with 11 additions and 19 deletions
+1 -2
View File
@@ -69,7 +69,7 @@
auth = [[WOApplication application]
authenticatorInContext: context];
response = [context response];
response = [self responseWith204];
cookieString = [NSString stringWithFormat: @"%@:%@",
[self queryParameterForKey: @"userName"],
[self queryParameterForKey: @"password"]];
@@ -78,7 +78,6 @@
authCookie = [WOCookie cookieWithName: [auth cookieNameInContext: context]
value: cookieValue];
[authCookie setPath: @"/"];
[response setStatus: 204];
[response addCookie: authCookie];
return response;