mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 03:49:04 +03:00
Merge pull request #3927 from vector-im/yostyle/password_matrix_error
Add password matrix errors
This commit is contained in:
commit
0a26547cb4
2 changed files with 19 additions and 0 deletions
1
changelog.d/3927.feature
Normal file
1
changelog.d/3927.feature
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Add password errors in the matrix SDK
|
|
@ -182,6 +182,24 @@ data class MatrixError(
|
||||||
/** (Not documented yet) */
|
/** (Not documented yet) */
|
||||||
const val M_WEAK_PASSWORD = "M_WEAK_PASSWORD"
|
const val M_WEAK_PASSWORD = "M_WEAK_PASSWORD"
|
||||||
|
|
||||||
|
/** The provided password's length is shorter than the minimum length required by the server. */
|
||||||
|
const val M_PASSWORD_TOO_SHORT = "M_PASSWORD_TOO_SHORT"
|
||||||
|
|
||||||
|
/** The password doesn't contain any digit but the server requires at least one. */
|
||||||
|
const val M_PASSWORD_NO_DIGIT = "M_PASSWORD_NO_DIGIT"
|
||||||
|
|
||||||
|
/** The password doesn't contain any uppercase letter but the server requires at least one. */
|
||||||
|
const val M_PASSWORD_NO_UPPERCASE = "M_PASSWORD_NO_UPPERCASE"
|
||||||
|
|
||||||
|
/** The password doesn't contain any lowercase letter but the server requires at least one. */
|
||||||
|
const val M_PASSWORD_NO_LOWERCASE = "M_PASSWORD_NO_LOWERCASE"
|
||||||
|
|
||||||
|
/** The password doesn't contain any symbol but the server requires at least one. */
|
||||||
|
const val M_PASSWORD_NO_SYMBOL = "M_PASSWORD_NO_SYMBOL"
|
||||||
|
|
||||||
|
/** The password was found in a dictionary, and is not acceptable. */
|
||||||
|
const val M_PASSWORD_IN_DICTIONARY = "M_PASSWORD_IN_DICTIONARY"
|
||||||
|
|
||||||
const val M_TERMS_NOT_SIGNED = "M_TERMS_NOT_SIGNED"
|
const val M_TERMS_NOT_SIGNED = "M_TERMS_NOT_SIGNED"
|
||||||
|
|
||||||
// For identity service
|
// For identity service
|
||||||
|
|
Loading…
Reference in a new issue