Fix changing passwords.

This commit is contained in:
Relintai 2021-08-22 22:47:21 +02:00
parent 34b38ac237
commit a77535d0e4

View File

@ -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;
}
}