fulldecent / moodle-enrol_course_tokens

Create single-use tokens. Then new students can create an account and enroll with these tokens.
2 stars 1 forks source link

Improvements listed below. #14

Closed Raza403 closed 2 months ago

Raza403 commented 3 months ago
  1. activate.php to assign.php because that's what this file is doing now.
  2. No redirect in file required. Made changes at all places. Checked, working.
  3. index.php now shows the email address of user the token is assigned to.
  4. When a user uses a token, gets redirected to the concerned course page.
  5. Now we can assign more than one token at a time.
  6. Token used time is saved in the table as timestamp. Updated DB folder, containing new table columns.
  7. In view_tokens.php token used on date is displayed.
  8. Share button shares token on view_tokens.php. re-assign.php will reassign the token.
  9. Token is now being re-assigned successfully to the new user.