mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-05-06 17:51:36 +02:00
Fix changing passwords.
This commit is contained in:
parent
34b38ac237
commit
a77535d0e4
@ -335,8 +335,8 @@ void UserController::handle_settings_request(Ref<User> &user, Request *request)
|
|||||||
if (pass_val != pass_check_val) {
|
if (pass_val != pass_check_val) {
|
||||||
error_str += "The passwords did not match!<br>";
|
error_str += "The passwords did not match!<br>";
|
||||||
} else {
|
} else {
|
||||||
//todo
|
UserModel::get_singleton()->create_password(user, pass_val);
|
||||||
//create_password(pass_val);
|
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user