Commit 8a860e36 authored by Gugli's avatar Gugli Committed by daryl herzmann

When a user is created due to successful authentication, now calls the full...

When a user is created due to successful authentication, now calls the full process of user creation, including firing events for plugins. (#689)

OF-1235 Fixes user_created event not being fired on user creation due to auth.
parent bac0519e
......@@ -165,7 +165,7 @@ public class AuthorizationManager {
return false;
}
try {
UserManager.getUserProvider().createUser(username, StringUtils.randomString(8), null, null);
UserManager.getInstance().createUser(username, StringUtils.randomString(8), null, null);
if (Log.isDebugEnabled()) {
Log.info("AuthorizationManager: User "+username+" created.");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment