From 4a3d3ef300af1a8124efbee946c5c1a0ffef94cd Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Mon, 7 Mar 2016 09:34:16 -0500 Subject: [PATCH] Use better error message on LDAP renew failure --- builtin/credential/ldap/path_login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/credential/ldap/path_login.go b/builtin/credential/ldap/path_login.go index 1e3a90451..58e36cbfa 100644 --- a/builtin/credential/ldap/path_login.go +++ b/builtin/credential/ldap/path_login.go @@ -76,7 +76,7 @@ func (b *backend) pathLoginRenew( sort.Strings(policies) if strings.Join(policies, ",") != prevpolicies { - return logical.ErrorResponse("policies have changed, revoking login"), nil + return logical.ErrorResponse("policies have changed, not renewing"), nil } return framework.LeaseExtend(0, 0, b.System())(req, d)