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

This commit is contained in:
smizrahi
2024-01-29 17:16:08 +01:00
parent f43974bbb7
commit 455fe97cbe
4 changed files with 29 additions and 1 deletions
+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