Detecting login of disabled user?

Chris M July 14, 2015

Currently, when a disabled user attempts to login, confluence displays the message "Sorry, your username and/or password are incorrect. Please try again." – exactly what it does if you've mistyped your password.

Is there a way to identify, detect or hook-into the event for a disabled user logging in? We'd like to automatically enable such users but can not do so without some sort of trigger or method to detect the event.

 

2 answers

0 votes
Chris M July 14, 2015

Thanks. Yes, but I noticed that the log entry created is identical to those for failed logins (password typos, etc).  There does not seem to be a way to uniquely identify a disabled user logging in.  I guess you could check all failed logins on the fly to see if they happen to be disabled. Not very graceful.

0 votes
Guilherme V.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 14, 2015

Hello Chris,

You can find in the Confluence's logs the username that tried to access Confluence. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events