Fix callback function for fallback login (#1899)

This commit is contained in:
Johannes Marbach 2024-07-05 12:54:42 +02:00 committed by GitHub
parent 7d94efe136
commit e53e6ea876
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
Clarify that the fallback login page calls `window.matrixLogin.onLogin` instead of `window.onLogin`.

View file

@ -1401,7 +1401,7 @@ fallback login API:
This returns an HTML and JavaScript page which can perform the entire This returns an HTML and JavaScript page which can perform the entire
login process. The page will attempt to call the JavaScript function login process. The page will attempt to call the JavaScript function
`window.onLogin` when login has been successfully completed. `window.matrixLogin.onLogin` when login has been successfully completed.
{{% added-in v="1.1" %}} Non-credential parameters valid for the `/login` {{% added-in v="1.1" %}} Non-credential parameters valid for the `/login`
endpoint can be provided as query string parameters here. These are to be endpoint can be provided as query string parameters here. These are to be