mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Update UserActivity.cs
Add missing activity, fixes #5684 in 1.9.x branch.
This commit is contained in:
@@ -77,6 +77,17 @@ namespace Orchard.Users.Activities {
|
||||
}
|
||||
}
|
||||
|
||||
[OrchardFeature("Orchard.Users.Workflows")]
|
||||
public class UserLogInFailedActivity : UserActivity {
|
||||
public override string Name {
|
||||
get { return "UserLogInFailed"; }
|
||||
}
|
||||
|
||||
public override LocalizedString Description {
|
||||
get { return T("User login failed."); }
|
||||
}
|
||||
}
|
||||
|
||||
[OrchardFeature("Orchard.Users.Workflows")]
|
||||
public class UserLoggedOutActivity : UserActivity {
|
||||
public override string Name {
|
||||
@@ -142,4 +153,4 @@ namespace Orchard.Users.Activities {
|
||||
get { return T("User is approved."); }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user