WING-NUS / SSID

Student Submission Integrity Diagnosis
18 stars 23 forks source link

Enable skip confirmation when seeding #303

Closed florentianayuwono closed 1 year ago

florentianayuwono commented 1 year ago

Fix #298

Summary of changes:

  1. Adding skip_confirmation! to seeds.rb as mentioned by the resources from @sibinhho99 and @huyuxin0429 Since our implementation with Devise for authentication and email confirmation will check for user.confirmed?, however during development we will need to login with fake admin account, hence will not be able to confirm the email.
  2. Changing the password to SSIDPassword123! since the Devise authentication also check for valid password by having at least one uppercase, one lowercase, a number and a special character.
  3. Changes to other fields such as name and email just to standardize with the new password.
huyuxin0429 commented 1 year ago

Looks good!