File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -31,15 +31,15 @@ class User implements IDatabaseObject, JsonSerializable
3131 const DEFAULT_TZ = 'Etc/UTC ' ;
3232
3333 // Maximum SQL field lengths, alter as appropriate
34- const MAX_DISPLAY_NAME = 191 ;
35- const MAX_EMAIL = 191 ;
34+ const MAX_DISPLAY_NAME = 0xFF ;
35+ const MAX_EMAIL = 0xFF ;
3636 const MAX_ID = 0x7FFFFFFFFFFFFFFF ;
3737 const MAX_OPTIONS = 0x7FFFFFFFFFFFFFFF ;
38- const MAX_PASSWORD_HASH = 191 ;
39- const MAX_PASSWORD_SALT = 191 ;
40- const MAX_TIMEZONE = 191 ;
41- const MAX_USERNAME = 191 ;
42- const MAX_VERIFIER_TOKEN = 191 ;
38+ const MAX_PASSWORD_HASH = 0xFF ;
39+ const MAX_PASSWORD_SALT = 0xFF ;
40+ const MAX_TIMEZONE = 0xFF ;
41+ const MAX_USERNAME = 0xFF ;
42+ const MAX_VERIFIER_TOKEN = 0xFF ;
4343
4444 const OPTION_DISABLED = 0x00000001 ; // User login disabled, active sessions force-expired
4545 const OPTION_VERIFIED = 0x00000002 ; // A token sent via email was returned to us
You can’t perform that action at this time.
0 commit comments