mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-10-15 06:50:43 +00:00
Add username and email columns to registration tokens
A registration token can now optionally carry the username and/or the email address the account it is used for has to be registered with. This only adds the columns and plumbs them through the storage layer and the CLI; nothing enforces them yet.
This commit is contained in:
@@ -7389,6 +7389,20 @@
|
||||
"null"
|
||||
],
|
||||
"format": "date-time"
|
||||
},
|
||||
"username": {
|
||||
"description": "A username to impose on the registering user. If set, the user cannot\nchoose their own username.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"email": {
|
||||
"description": "An email address to impose on the registering user. If set, the user\ncannot choose their own email.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user