mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-05-09 23:31:36 +02:00
Fix User::_from_dict() using wrong dictionary keys.
This commit is contained in:
parent
0927580e78
commit
3894d36ad3
@ -228,16 +228,16 @@ Dictionary User::_to_dict() {
|
|||||||
return dict;
|
return dict;
|
||||||
}
|
}
|
||||||
void User::_from_dict(const Dictionary &dict) {
|
void User::_from_dict(const Dictionary &dict) {
|
||||||
_user_id = dict["user_id "];
|
_user_id = dict["user_id"];
|
||||||
_user_name = dict["user_name "];
|
_user_name = dict["user_name"];
|
||||||
_email = dict["email "];
|
_email = dict["email"];
|
||||||
_rank = dict["rank "];
|
_rank = dict["rank"];
|
||||||
_pre_salt = dict["pre_salt "];
|
_pre_salt = dict["pre_salt"];
|
||||||
_post_salt = dict["post_salt "];
|
_post_salt = dict["post_salt"];
|
||||||
_password_hash = dict["password_hash "];
|
_password_hash = dict["password_hash"];
|
||||||
_banned = dict["banned "];
|
_banned = dict["banned"];
|
||||||
_password_reset_token = dict["password_reset_token "];
|
_password_reset_token = dict["password_reset_token"];
|
||||||
_locked = dict["locked "];
|
_locked = dict["locked"];
|
||||||
|
|
||||||
Array marr = dict["modules"];
|
Array marr = dict["modules"];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user