Skip to content
Snippets Groups Projects
Commit 7a6d2f13 authored by Mike McKay's avatar Mike McKay
Browse files

XNAT-4522 Got it so users could reenable expired accounts again.

parent 769bd2e3
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,7 @@ public class XnatDatabaseAuthenticationProvider extends DaoAuthenticationProvide
String query = "SELECT COUNT(*) AS count " +
"FROM xdat_user_history " +
"WHERE xdat_user_id=" + xdatUserDetails.getID() + " " +
"AND change_user=" + xdatUserDetails.getID() + " " +
//"AND change_user=" + xdatUserDetails.getID() + " " +
"AND change_date = (SELECT MAX(change_date) " +
"FROM xdat_user_history " +
"WHERE xdat_user_id=" + xdatUserDetails.getID() + " " +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment