mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
bridgev2/login: add url and domain user input types
This commit is contained in:
parent
2353d323a4
commit
0384e800fd
2 changed files with 3 additions and 1 deletions
|
|
@ -159,6 +159,8 @@ const (
|
|||
LoginInputFieldTypeEmail LoginInputFieldType = "email"
|
||||
LoginInputFieldType2FACode LoginInputFieldType = "2fa_code"
|
||||
LoginInputFieldTypeToken LoginInputFieldType = "token"
|
||||
LoginInputFieldTypeURL LoginInputFieldType = "url"
|
||||
LoginInputFieldTypeDomain LoginInputFieldType = "domain"
|
||||
)
|
||||
|
||||
type LoginInputDataField struct {
|
||||
|
|
|
|||
|
|
@ -635,7 +635,7 @@ components:
|
|||
type:
|
||||
type: string
|
||||
description: The type of field.
|
||||
enum: [ username, phone_number, email, password, 2fa_code, token ]
|
||||
enum: [ username, phone_number, email, password, 2fa_code, token, url, domain ]
|
||||
id:
|
||||
type: string
|
||||
description: The internal ID of the field. This must be used as the key in the object when submitting the data back to the bridge.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue