feat(core): Add new SOGoURLCreateAccount option to add a create account link below login form

This commit is contained in:
smizrahi
2024-10-22 16:03:50 +02:00
parent 253d14cfce
commit f2ba6870d5
8 changed files with 35 additions and 0 deletions
+12
View File
@@ -1060,4 +1060,16 @@ static const NSString *kJwtKey = @"jwt";
return [[SOGoAdmin sharedInstance] getMotd] && [[[SOGoAdmin sharedInstance] getMotd] length] > 1;
}
- (BOOL) hasUrlCreateAccount
{
return ([[SOGoSystemDefaults sharedSystemDefaults]
urlCreateAccount] != nil);
}
- (NSString *) urlCreateAccount
{
return [[SOGoSystemDefaults sharedSystemDefaults]
urlCreateAccount];
}
@end /* SOGoRootPage */