Skip to content

Commit

Permalink
Email for experienced group
Browse files Browse the repository at this point in the history
  • Loading branch information
rebkwok committed Jan 3, 2024
1 parent 22e4ca2 commit 0cdac04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion studioadmin/views/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ def toggle_permission(request, user_id, allowed_group_id):
log=f"User {user_to_change.username} added to allowed group {allowed_group} by "
f"admin user {request.user.username}"
)
if allowed_group.group.name == "Experienced":
if allowed_group.group.name.lower() == "experienced":
send_mail(
"Account upgraded: important information",
get_template('studioadmin/email/experienced_group_permission.txt').render(),
Expand Down

0 comments on commit 0cdac04

Please sign in to comment.