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:
parent
39671fcfc1
commit
1dd97b8c75
1 changed files with 2 additions and 2 deletions
|
@ -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 },
|
||||
})
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue