(fix) return correct response

This commit is contained in:
Ludovic Marcotte
2016-04-27 17:04:22 -04:00
parent 2c01cb7a0a
commit 04f2002feb

View File

@@ -597,6 +597,8 @@
newPassword: newPassword
perr: &error])
{
response = [self responseWith204];
// We delete the previous session
if (creds)
{
@@ -610,7 +612,6 @@
username = [NSString stringWithFormat: @"%@@%@", username, domain];
}
response = [self responseWith204];
authCookie = [auth cookieWithUsername: username
andPassword: newPassword
inContext: context];