mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-06 20:37:14 +00:00
fix(core): don't show link if SOGoURLCreateAccount is set but empty
This commit is contained in:
1 parent
d15f0ee804
commit
69116d8eb7
1 file changed
+3
-2
@@ -1099,8 +1099,9 @@ static const NSString *kJwtKey = @"jwt";
|
||||
|
||||
- (BOOL) hasUrlCreateAccount
|
||||
{
|
||||
return ([[SOGoSystemDefaults sharedSystemDefaults]
|
||||
urlCreateAccount] != nil);
|
||||
NSString *url;
|
||||
url = [[SOGoSystemDefaults sharedSystemDefaults] urlCreateAccount];
|
||||
return (url != nil && [url length] > 0);
|
||||
}
|
||||
|
||||
- (NSString *) urlCreateAccount
|
||||
|
||||
Reference in new issue
Block a user