Skip to content

Commit

Permalink
what a vague reason
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMario211 committed Jan 30, 2025
1 parent cc768bb commit 6411bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/auth/AuthMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void AuthMenu::onDashAuth(CCObject*) {
log::info("Authenticating with DashAuth...");
DashAuthRequest().getToken(Mod::get(), DASHEND_URL)->except([](std::string err) {
log::warn("failed to get token :c reason: {}", err);
FLAlertLayer::create("DashAuth Error", "Failed to get token, view logs for reason", "OK")->show();
FLAlertLayer::create("DashAuth Error", "Failed to get token, this could be due to the message expiring too early. <cy>Please try again</c>, or check logs to view a detailed reason.", "OK")->show();
})->then([](std::string const& token) {
log::info("got token!! {} :3", token);
genAuthToken(AuthMethod::DashAuth, token, true, [](bool value) {
Expand Down

0 comments on commit 6411bd2

Please sign in to comment.