mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-06-17 22:23:03 +00:00
Sentry: users: add authkey, username
This commit is contained in:
@@ -14,6 +14,8 @@ TSentry::TSentry(const std::string& SentryUrl) {
|
|||||||
sentry_init(options);
|
sentry_init(options);
|
||||||
sentry_value_t user = sentry_value_new_object();
|
sentry_value_t user = sentry_value_new_object();
|
||||||
sentry_value_set_by_key(user, "id", sentry_value_new_string(Application::Settings.Key.c_str()));
|
sentry_value_set_by_key(user, "id", sentry_value_new_string(Application::Settings.Key.c_str()));
|
||||||
|
sentry_value_set_by_key(user, "username", sentry_value_new_string(Application::Settings.Key.c_str()));
|
||||||
|
sentry_value_set_by_key(user, "authkey", sentry_value_new_string(Application::Settings.Key.c_str()));
|
||||||
sentry_set_user(user);
|
sentry_set_user(user);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user