Skip to content

Commit

Permalink
Add a message for that
Browse files Browse the repository at this point in the history
  • Loading branch information
Celeo committed Feb 22, 2025
1 parent 7fdd7cd commit f7e3b62
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion vzdv-site/src/endpoints/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use crate::{
email::{self, send_mail, send_mail_raw},
flashed_messages::{MessageLevel, drain_flashed_messages, push_flashed_message},
flashed_messages::{self, MessageLevel, drain_flashed_messages, push_flashed_message},
load_templates,
shared::{
AppError, AppState, SESSION_USER_INFO_KEY, UserInfo, js_timestamp_to_utc, post_audit,
Expand Down Expand Up @@ -624,6 +624,13 @@ async fn post_edit_solo_cert(
})?;
}

push_flashed_message(
session,
MessageLevel::Success,
"Solo cert expiration date modified",
)
.await?;

Ok(Redirect::to(&format!("/controller/{cid}")))
}

Expand Down

0 comments on commit f7e3b62

Please sign in to comment.