mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-27 04:06:23 +00:00
(fix) return correct response
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user