mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01: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) {
|
||||
error_str += "The passwords did not match!<br>";
|
||||
} else {
|
||||
//todo
|
||||
//create_password(pass_val);
|
||||
UserModel::get_singleton()->create_password(user, pass_val);
|
||||
|
||||
changed = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user