Skip to content

Commit

Permalink
fix: Change email
Browse files Browse the repository at this point in the history
BREAKING CHANGES: Autochecker user is now `lms-checker@python*ic*.guru`, soon to be configured using the configuration file. Should also change it accordingly in the database.
  • Loading branch information
yammesicka authored Feb 27, 2024
1 parent ece9ee8 commit f982fec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lms/lmsdb/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ def has_course(self, course_id: int) -> bool:
@classmethod
def get_system_user(cls) -> 'User':
instance, _ = cls.get_or_create(**{
cls.mail_address.name: 'linter-checks@python.guru',
User.username.name: 'linter-checks@python.guru',
cls.mail_address.name: 'linter-checks@pythonic.guru',
User.username.name: 'linter-checks@pythonic.guru',
}, defaults={
User.fullname.name: 'Checker guru',
User.role.name: Role.get_staff_role(),
Expand Down

0 comments on commit f982fec

Please sign in to comment.