0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

modules/client/register: Fix device_id property name in access_token event.

This commit is contained in:
Jason Volk 2019-02-20 18:46:30 -08:00
parent 39671fcfc1
commit 1dd97b8c75

View file

@ -317,8 +317,8 @@ register_user(const m::registar &request,
{
m::send(m::user::tokens, user_id, "ircd.access_token", access_token,
{
{ "ip", client? string(remote(*client)) : std::string{} },
{ "device", device_id },
{ "ip", client? string(remote(*client)) : std::string{} },
{ "device_id", device_id },
})
};