mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 14:57:12 +00:00
Merge 'tests/authcache' - don't use cache on login
This commit is contained in:
commit
4bfb43a4ad
5 files changed
+73
-22
No files matched your search
@@ -202,7 +202,7 @@
|
||||
domain = [request formValueForKey: @"domain"];
|
||||
|
||||
if ((b = [auth checkLogin: username password: password domain: &domain
|
||||
perr: &err expire: &expire grace: &grace])
|
||||
perr: &err expire: &expire grace: &grace useCache: NO])
|
||||
&& (err == PolicyNoError)
|
||||
// no password policy
|
||||
&& ((expire < 0 && grace < 0) // no password policy or everything is alright
|
||||
|
||||
Reference in new issue
Block a user