fix
This commit is contained in:
parent
d5ba35b226
commit
0136483c89
@ -277,7 +277,7 @@ handle_event({call, From}, {create_session, PubKey}, _, State = #state{uuid = UU
|
|||||||
Reply = #{<<"a">> => false, <<"aes">> => <<"">>},
|
Reply = #{<<"a">> => false, <<"aes">> => <<"">>},
|
||||||
EncReply = iot_cipher_rsa:encode(Reply, PubKey),
|
EncReply = iot_cipher_rsa:encode(Reply, PubKey),
|
||||||
|
|
||||||
{next_state, ?STATE_DENIED, [{reply, From, {ok, <<10:8, EncReply/binary>>}}]}
|
{next_state, ?STATE_DENIED, State, [{reply, From, {ok, <<10:8, EncReply/binary>>}}]}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
%% 重新加载设备信息
|
%% 重新加载设备信息
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user