Save original username in cookie

Fixes #4363
pull/240/head
Francis Lachapelle 2018-03-01 11:17:03 -05:00
parent 0dc3ed3202
commit d49219ceec
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -54,6 +54,7 @@ Bug fixes
- [web] fixed file uploader URL in mail editor
- [web] fixed decoding of spaces in URL-encoded parameters (+)
- [web] fixed scrolling of message with Firefox (#4008, #4282, #4398)
- [web] save original username in cookie when remembering login (#4363)
- [eas] hebrew folders encoding problem using EAS (#4240)
- [eas] avoid sync requests for shared folders every second (#4275)
- [eas] we skip the organizer from the attendees list (#4402)

View File

@ -272,7 +272,7 @@
}
if (rememberLogin)
[response addCookie: [self _cookieWithUsername: username]];
[response addCookie: [self _cookieWithUsername: [params objectForKey: @"userName"]]];
else
[response addCookie: [self _cookieWithUsername: nil]];