-
- Downloads
Improve login flow (#35)
* Validate both inferred and explicitly entered server addresses by attempting to call the /versions endpoint * If the domain from the mxid fails validation, try prefixing it with 'matrix' * Only show server address field if address validation ultimately fails
Showing
- CMakeLists.txt 1 addition, 2 deletionsCMakeLists.txt
- include/LoginPage.h 19 additions, 9 deletionsinclude/LoginPage.h
- include/MatrixClient.h 2 additions, 0 deletionsinclude/MatrixClient.h
- include/Versions.h 15 additions, 10 deletionsinclude/Versions.h
- resources/icons/error.png 4 additions, 0 deletionsresources/icons/error.png
- resources/res.qrc 1 addition, 0 deletionsresources/res.qrc
- src/LoginPage.cc 119 additions, 47 deletionssrc/LoginPage.cc
- src/MatrixClient.cc 25 additions, 2 deletionssrc/MatrixClient.cc
- src/Versions.cc 62 additions, 0 deletionssrc/Versions.cc
Loading
Please register or sign in to comment