Fix: user data is created at first connection but not returned.

This commit is contained in:
Philippe Pittoli 2023-07-07 20:23:38 +02:00
parent 7d641b9168
commit af7379ad43

View File

@ -48,7 +48,8 @@ class DNSManager::Storage
user_data = user_data_by_uid.get? user_id.to_s
unless user_data
Baguette::Log.info "New user #{user_id}"
@user_data << UserData.new user_id
user_data = UserData.new user_id
@user_data << user_data
end
user_data