[ARVADOS] updated: 2.1.0-1514-g841e704b5
Git user
git at public.arvados.org
Thu Oct 21 20:29:00 UTC 2021
Summary of changes:
services/api/script/get_anonymous_user_token.rb | 1 +
1 file changed, 1 insertion(+)
via 841e704b5b3277b4fd21c05628afb7f9e6e94c65 (commit)
from 3c3cae35fe5b3cf0371e1cbb1ff295baf555f77a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 841e704b5b3277b4fd21c05628afb7f9e6e94c65
Author: Ward Vandewege <ward at curii.com>
Date: Thu Oct 21 16:27:59 2021 -0400
18288: when storing the anonymous user token, make sure to clear the
expires_at field.
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>
diff --git a/services/api/script/get_anonymous_user_token.rb b/services/api/script/get_anonymous_user_token.rb
index 8775ae595..8da6b1704 100755
--- a/services/api/script/get_anonymous_user_token.rb
+++ b/services/api/script/get_anonymous_user_token.rb
@@ -58,6 +58,7 @@ def create_api_client_auth(supplied_token=nil)
api_client_auth = ApiClientAuthorization.where(attr).first
if !api_client_auth
+ attr[:expires_at] = nil
api_client_auth = ApiClientAuthorization.create!(attr)
end
api_client_auth
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list