New account is not suspended, joined to autojoin rooms, nor announced in admin room, if registered with inhibit_login #1014

Closed
opened 2025-09-11 15:20:22 +00:00 by digitalrain · 2 comments

I have the following configuration snippit:

allow_registration = true
suspend_on_register = true
registration_token = "foo"
auto_join_rooms = ["#welcome:example.com"]

When I perform a registration to POST /_matrix/client/v3/register like this:

{
  "inhibit_login": true,
  "username": "newuser",
  "password": "password",
  "auth": {
    "type": "m.login.registration_token",
    "token": "foo"
  }
}

The account is created successfully and can be used to log in. However:

  • The new account is not suspended
  • The new account is not announced in the admin room
  • The new account is not joined to the autojoin room
I have the following configuration snippit: ``` allow_registration = true suspend_on_register = true registration_token = "foo" auto_join_rooms = ["#welcome:example.com"] ``` When I perform a registration to `POST /_matrix/client/v3/register` like this: ``` { "inhibit_login": true, "username": "newuser", "password": "password", "auth": { "type": "m.login.registration_token", "token": "foo" } } ``` The account is created successfully and can be used to log in. However: - The new account is not suspended - The new account is not announced in the admin room - The new account is not joined to the autojoin room
nex added this to the v0.5.0-rc.8 milestone 2025-09-11 16:03:31 +00:00
nex self-assigned this 2025-09-11 16:03:32 +00:00
Owner

Thanks for raising this, this should now be fixed by #1015 (which will be merged into main shortly) :)

Thanks for raising this, this should now be fixed by #1015 (which will be merged into main shortly) :)
Author

I tested the #1015 branch and registration seems to be working now, thanks.

I tested the #1015 branch and registration seems to be working now, thanks.
nex closed this issue 2025-09-14 01:26:38 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/continuwuity#1014
No description provided.