You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (attended:=attended.lower()) notin ["true", "false"]: raiseserializers.ValidationError({"error": f"invalid attendence state: '{attended}'"})
138
+
ifnotuser_query: raiseserializers.ValidationError({"error": f"user '{username}' does not exist"})
139
+
ifuser_query[0].role!=AccountRoles.STUDENT: raiseserializers.ValidationError({"error": f"cannot set the attendence of a non-student: '{username}' is {user_query[0].role}"})
140
+
141
+
course : Course=self.context.get("course")
142
+
ifnotcourse.is_user_enrolled(user_query[0]): raiseserializers.ValidationError({"error": f"user '{username}' is not enrolled in '{course.course_name}'"})
<p>We received a request to reset the password for your account. If you made this request, please click on the link below or copy and paste it into your browser to complete the process:</p>
We received a request to reset the password for your account. If you made this request, please click on the link below or copy and paste it into your browser to complete the process:</p>
4
+
5
+
{{ reset_password_url }}
6
+
7
+
The link will be valid for the next 30 minutes
8
+
9
+
If you did not request to reset your password, please ignore this email and your password will remain unchanged.
0 commit comments