Skip to content

Commit 57f14ea

Browse files
committed
resolved #293: Added AbpMvcAuthorize attribute to TestNotification action
1 parent 2f97e3b commit 57f14ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Controllers/AccountController.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using Microsoft.AspNetCore.Identity;
88
using Microsoft.AspNetCore.Mvc;
99
using Abp;
10+
using Abp.AspNetCore.Mvc.Authorization;
1011
using Abp.Authorization;
1112
using Abp.Authorization.Users;
1213
using Abp.Configuration;
@@ -435,6 +436,7 @@ private string NormalizeReturnUrl(string returnUrl, Func<string> defaultValueBui
435436
/// </summary>
436437
/// <param name="message"></param>
437438
/// <returns></returns>
439+
[AbpMvcAuthorize]
438440
public async Task<ActionResult> TestNotification(string message = "")
439441
{
440442
if (message.IsNullOrEmpty())

0 commit comments

Comments
 (0)