mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 21:53:19 +00:00
See ChangeLog
Monotone-Parent: baa6f9af328e12270813b11beac4250ab90005b0 Monotone-Revision: 659def76b8868bdc540986987d61b39410737054 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2011-02-02T01:58:56 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -139,7 +139,7 @@
|
||||
}
|
||||
else if ([_userPasswordAlgorithm caseInsensitiveCompare: @"crypt"] == NSOrderedSame)
|
||||
{
|
||||
return [[plainPassword asCryptString] isEqualToString: encryptedPassword];
|
||||
return [[plainPassword asCryptStringUsingSalt: encryptedPassword] isEqualToString: encryptedPassword];
|
||||
}
|
||||
else if ([_userPasswordAlgorithm caseInsensitiveCompare: @"md5"] == NSOrderedSame)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user