From e0d0fb650401bca3751464e66574b9e9f594a113 Mon Sep 17 00:00:00 2001 From: Anton Dyudin Date: Wed, 2 Mar 2016 16:46:06 -0800 Subject: [PATCH] better bad-key error --- lib/oauth2.hoon | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/oauth2.hoon b/lib/oauth2.hoon index 736afb57af..49809a505d 100644 --- a/lib/oauth2.hoon +++ b/lib/oauth2.hoon @@ -36,7 +36,10 @@ ++ keys cord:{cid/@t cis/@t} ++ core-move |*(a/* $^({sec-move _a} sec-move)) ::here's a change ++ decode-keys :: XX from bale w/ typed %jael - |=(key/keys ((hard {cid/@t cis/@t $~}) (lore key))) + |= key/keys + ?~ key ~|(%oauth-no-keys ~_(leaf+"Run |init-oauth2" !!)) + ~| %oauth-bad-keys + ((hard {cid/@t cis/@t $~}) (lore key)) -- :: ::::