Skip to content

Conversation

@scottjehl
Copy link
Contributor

Fixes #1601. This is set up to ideally allow populating $error with strings or HTML in cases where the error is going only to the web and not api/json.

…ixes #1601). This is set up to allow populating  with strings or HTML in cases where the error is going only to the web and not api/json.
@scottjehl scottjehl requested review from jefflembeck, pmeenan and tkadlec and removed request for pmeenan October 28, 2021 16:15
www/runtest.php Outdated
$passesMonthly = $cmrl->check();

if(!$passesMonthly) {
$error = '<p><strong>You\'ve hit the max on anonymous tests this month, but don\'t worry! You can keep testing...</strong> You\'ll just need to <a href="/saml/login.php">log in</a>, which gives you access to other nice features like saved test history and no hourly rate limits as well.</p>' . loggedOutLoginForm();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this messaging

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! ❤️ the friendly and helpful tone here.

Copy link
Contributor

@tkadlec tkadlec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking in great shape! :shipit:

(one day I will find out why that is the ship it icon)

@tkadlec tkadlec merged commit 3cddc32 into master Nov 1, 2021
@scottjehl scottjehl deleted the 1601 branch December 2, 2022 15:13
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.

Clean up max anon tests error messaging.

4 participants