Hi all!
We're displaying a custom error message after a user tried to login but the account has been disabled, mostly because of non-use for a certain period of time (removed from "confluence-users").
Therefore we use some JavaScript in the custom HTML settings (and it's ok that this message also appears when regular users try to access forbidden functions inside confluence):
AJS.toInit(function(){
AJS.$('.access-error').append('<a href=script.php?username=USERNAME>Custom Message with link to script</a>');
});
I'd like to pass the username USERNAME to a script linked in that message, so that the user can reactivate the account easily.
Is there a possibility for this?
Thx!