From de373a2def60ae596e3ede84adc94218a9221197 Mon Sep 17 00:00:00 2001 From: pandyah5 Date: Fri, 10 Nov 2023 16:49:14 -0500 Subject: [PATCH] Fixed a few flash message categories --- app/account.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/account.py b/app/account.py index 9cc21ca..e1cc887 100644 --- a/app/account.py +++ b/app/account.py @@ -52,7 +52,7 @@ def show_user_details(): current_user_details.email=form.email.data # Update the flash message - flash("Your details have been successfully updated!", "info") + flash("Your details have been successfully updated!", category="primary") # Save the updates db.session.commit() @@ -89,7 +89,7 @@ def add_user_details(): db.session.add(new_user_details) db.session.commit() - flash("Your details have been saved. You can always modify them from the 'My Account' tab", "info") + flash("Your details have been saved. You can always modify them from the 'My Account' section", category="primary") return redirect(url_for("user.main")) return render_template("user_register.html", form=form)