Skip to content

Commit

Permalink
Add some documentation
Browse files Browse the repository at this point in the history
defaultUsername was added in matrix-org/matrix-react-sdk#5674. I'm not aware of any others but they may exist.

Signed-off-by: Aaron Raimist <[email protected]>
  • Loading branch information
aaronraimist committed Jul 23, 2021
1 parent b6109a5 commit ba1a2b6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,3 +220,13 @@ Currently, the following UI feature flags are supported:
user.
* `UIFeature.roomHistorySettings` - Whether or not the room history settings are shown to the user.
This should only be used if the room history visibility options are managed by the server.

URL Parameters
==============

* `serverName` - Provide the default server used on the login and registration pages. Examples:
* https://app.element.io/#/login?serverName=kde.org
* https://app.element.io/#/register?serverName=kde.org
* `defaultUsername` - Provide the default username used on the login page. Example:
* https://app.element.io/#/login?defaultUsername=alice

0 comments on commit ba1a2b6

Please sign in to comment.