Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#453] Ignore unknown factors when calculating passing score in grace… #454

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

matthewhilton
Copy link
Collaborator

@matthewhilton matthewhilton commented Feb 15, 2024

Closes #453

Have tested this locally with the setup:

  • Login banner (0 points)
  • Role factor (non-admin gets 100 points)
  • TOTP
  • Grace mode

Logging in as:

  • Student - login banner is shown and once accepted they are logged in
  • Admin - login banner is shown, and once accepted they get prompted for TOTP (assuming grace mode has expired)

Seems to work as expected. Also will be adding a unit tests for this scenario.

To Do:

  • Ci passing
  • Unit tests

@matthewhilton matthewhilton marked this pull request as draft February 15, 2024 02:19
@matthewhilton matthewhilton force-pushed the 453-grace-mode-unknown-factors-fix branch from 2d036d6 to 5ec4b88 Compare February 15, 2024 03:00
@matthewhilton matthewhilton marked this pull request as ready for review February 15, 2024 03:00
@Peterburnett Peterburnett merged commit 9b7c45b into MOODLE_400_STABLE Feb 15, 2024
16 checks passed
@Peterburnett Peterburnett deleted the 453-grace-mode-unknown-factors-fix branch February 15, 2024 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Grace mode quirk with factors that return UNKNOWN status
2 participants