Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit f744b14

Browse files
committed
bug fix
changed angular.json -> add silent refresh changed initial config of Clients.cs
1 parent 90e5b78 commit f744b14

File tree

9 files changed

+7471
-7507
lines changed

9 files changed

+7471
-7507
lines changed

src/Backend/Jp.UserManagement/Controllers/IdentityResourceController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
namespace Jp.Management.Controllers
1717
{
1818
[Route("[controller]"), Authorize(Policy = "ReadOnly")]
19-
public class IdentityResourceController: ApiController
19+
public class IdentityResourceController : ApiController
2020
{
2121
private readonly IIdentityResourceAppService _identityResourceAppService;
2222

2323
public IdentityResourceController(
24-
INotificationHandler<DomainNotification> notifications,
24+
INotificationHandler<DomainNotification> notifications,
2525
IMediatorHandler mediator,
2626
IIdentityResourceAppService identityResourceAppService) : base(notifications, mediator)
2727
{

src/Backend/Jp.UserManagement/Controllers/UserAdminController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public UserAdminController(
4444
[HttpGet, Route("list")]
4545
public async Task<ActionResult<DefaultResponse<ListOfUsersViewModel>>> List([Range(1, 50)] int? q = 10, [Range(1, int.MaxValue)] int? p = 1, string s = null)
4646
{
47-
var irs = await _userManageAppService.GetUsers(new PagingViewModel(q?? 10, p ?? 1, s));
47+
var irs = await _userManageAppService.GetUsers(new PagingViewModel(q ?? 10, p ?? 1, s));
4848
return Response(irs);
4949
}
5050

@@ -168,7 +168,7 @@ public async Task<ActionResult<DefaultResponse<IEnumerable<UserListViewModel>>>>
168168
return Response(clients);
169169
}
170170

171-
[Route("reset-password"), HttpPost, Authorize(Policy = "Admin")]
171+
[Route("reset-password"), HttpPut, Authorize(Policy = "Admin")]
172172
public async Task<ActionResult<DefaultResponse<bool>>> ResetPassword([FromBody] AdminChangePasswordViewodel model)
173173
{
174174
if (!ModelState.IsValid)

src/Frontend/Jp.AdminUI/angular.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"tsConfig": "src/tsconfig.app.json",
2828
"polyfills": "src/polyfills.ts",
2929
"assets": [
30-
"src/assets"
30+
"src/assets",
31+
"src/silent-refresh.html"
3132
],
3233
"styles": [
3334
"src/app/core/preloader/preloader.scss",

0 commit comments

Comments
 (0)