Merge 'tests/authcache' - don't use cache on login

This commit is contained in:
Jean Raby committed 2013-02-05 11:40:47 -05:00
commit 4bfb43a4ad
5 files changed
+73 -22

No files matched your search

+1 -1
View File
@@ -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