Fix calling the new _create_user() method in UserManager.

This commit is contained in:
Relintai 2025-05-03 20:41:28 +02:00
parent e9e2e72665
commit 7ef5b152bc

View File

@ -49,7 +49,7 @@ void UserManager::save_user(const Ref<User> &user) {
call("_save_user", user);
}
Ref<User> UserManager::create_user() {
return call("_create_user");
return call("_create_user", Ref<User>());
}
bool UserManager::is_username_taken(const String &user_name) {
return call("_is_username_taken", user_name);