Save original username in cookie

Fixes #4363
This commit is contained in:
Francis Lachapelle
2018-03-01 11:20:37 -05:00
parent 0dc3ed3202
commit d49219ceec
2 changed files with 2 additions and 1 deletions
+1 -1
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]];