mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 02:45:25 +00:00
fix(password recovery): Add default from mail parameter
This commit is contained in:
@@ -448,4 +448,16 @@
|
||||
return [self boolForKey: @"SOGoCreateIdentitiesDisabled"];
|
||||
}
|
||||
|
||||
- (NSString *) passwordRecoveryFrom
|
||||
{
|
||||
NSString *emailFrom;
|
||||
|
||||
emailFrom = [self stringForKey: @"SOGoPasswordRecoveryFrom"];
|
||||
|
||||
if (!emailFrom)
|
||||
emailFrom = @"noreply@domain.com"; // Default email from when no domain set
|
||||
|
||||
return emailFrom;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user