feat(core): Add message of the day. Remove all html tags except for anchor tags (mobile only)

This commit is contained in:
smizrahi committed 2024-01-29 17:16:08 +01:00
1 parent f43974bbb7
commit 455fe97cbe
4 files changed
+29 -1

No files matched your search

+1 -1
View File
@@ -1052,7 +1052,7 @@ static const NSString *kJwtKey = @"jwt";
- (NSString *)motdEscaped
{
return [[[SOGoAdmin sharedInstance] getMotd] stringWithoutHTMLInjection: YES];
return [[[SOGoAdmin sharedInstance] getMotd] removeHTMLTagsExceptAnchorTags];
}
- (BOOL)hasMotd