Merge pull request #3927 from vector-im/yostyle/password_matrix_error
Add password matrix errors
This commit is contained in:
commit
0a26547cb4
|
@ -0,0 +1 @@
|
|||
Add password errors in the matrix SDK
|
|
@ -182,6 +182,24 @@ data class MatrixError(
|
|||
/** (Not documented yet) */
|
||||
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"
|
||||
|
||||
// For identity service
|
||||
|
|
Loading…
Reference in New Issue