Does anyone know how to change the
This account is pending approval. You will receive an email with further instructions once an administrator has approved it.
message?
Does anyone know how to change the
This account is pending approval. You will receive an email with further instructions once an administrator has approved it.
message?
This worked for me: // Create an observer instance linked to the callback function
var observer = new MutationObserver(function(mutationsList, observer) {
for(let mutation of mutationsList) {
if (mutation.type === ‘childList’) {
var $errorMessage = $(‘.kn-message-body:contains(“This account is pending approval.”)’);
if ($errorMessage.length) {
$errorMessage.html(‘
Type your new message here
’);// Configuration of the observer (which mutations to observe)
var config = { attributes: true, childList: true, subtree: true };
// Start observing the document with the configured parameters
observer.observe(document, config);