mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-26 20:16:15 +08:00
committed by
Sébastien Ros
parent
fe4a116cb4
commit
ddfcfd7379
@@ -15,13 +15,19 @@ namespace Orchard.Users.Handlers {
|
||||
public void Creating(UserContext context) {
|
||||
_workflowManager.TriggerEvent("UserCreating",
|
||||
context.User,
|
||||
() => new Dictionary<string, object> {{"User", context}});
|
||||
() => new Dictionary<string, object> {
|
||||
{"User", context.User},
|
||||
{"UserParameters", context.UserParameters}
|
||||
});
|
||||
}
|
||||
|
||||
public void Created(UserContext context) {
|
||||
_workflowManager.TriggerEvent("UserCreated",
|
||||
context.User,
|
||||
() => new Dictionary<string, object> {{"User", context}});
|
||||
() => new Dictionary<string, object> {
|
||||
{"User", context.User},
|
||||
{"UserParameters", context.UserParameters}
|
||||
});
|
||||
}
|
||||
|
||||
public void LoggingIn(string userNameOrEmail, string password) {
|
||||
@@ -78,4 +84,4 @@ namespace Orchard.Users.Handlers {
|
||||
() => new Dictionary<string, object> {{"User", user}});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user