fix: student invalid password reset link (#25825)

This commit is contained in:
Anupam Kumar 2021-05-26 12:16:04 +05:30 committed by GitHub
parent 3563454efa
commit 59769c7a86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,6 @@ class Student(Document):
student_user.flags.ignore_permissions = True
student_user.add_roles("Student")
student_user.save()
update_password_link = student_user.reset_password()
def update_applicant_status(self):
"""Updates Student Applicant status to Admitted"""