diff --git a/UI/MainUI/SOGoRootPage.m b/UI/MainUI/SOGoRootPage.m index 7035357ab..98cf68c07 100644 --- a/UI/MainUI/SOGoRootPage.m +++ b/UI/MainUI/SOGoRootPage.m @@ -575,7 +575,7 @@ static const NSString *kJwtKey = @"jwt"; response = [self redirectToLocation: [NSString stringWithFormat: @"%@%@", oldLocation, - [login stringByEscapingURL]]]; + [[SOGoUser getEncryptedUsernameIfNeeded:login] stringByEscapingURL]]]; } else {