Hi,
I couldn't understand the case very well. Why do you need to add AbpMvcAuthorize attribute, if not logged in users are going to access this controller.
Lets say that we accomplish your idea (assigned Anonymous role to not logged in users). How are you going to determine if a not logged in user have a Anonymous role or not ?
Hi,
You have to copy all codes inside Login action of Accoutn cotroller. The place which password checked is in this line
var loginResult = await _logInManager.LoginAsync(usernameOrEmailAddress, password, tenancyName);
You have to copy _logInManager.LoginAsync code into your project and modify the places for password check. You can find it here. <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/blob/cab121b66dcaf4884cd23ae3f4f0c22f67734eef/src/Abp.Zero/Authorization/AbpLoginManager.cs">https://github.com/aspnetboilerplate/mo ... Manager.cs</a>.
If you want paid users always enter without password, you can apply another approach. Change their password to something fixed like "123qwe" when the payment is successfull. Then use regular login action with this fixed password for paid users.
Hi,
Thank you for informing us :). Which template do you use MPA, SPA or ASP.NET Core ? I have tried with all of them, it seems like paging is working but sorting is not.
Hi,
AspNet Zero Spa project includes a angularjs filter. You can also use that one <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/blob/5fef9a8e7b894fd9586eba9f8dc50bbd3e629b2f/src/MyCompanyName.AbpZeroTemplate.Web/App/common/filters/momentjs-filters.js">https://github.com/aspnetzero/aspnet-ze ... filters.js</a>.
The one day problem might be related to your timezone selection. Can you check what date is sent to server via Google Chrome's network tab on developer console.
Hi,
Please send your project and your DB backup to <a href="mailto:[email protected]">[email protected]</a>.
Hi,
I have tried same scenario, downloaded a new Core project and tried to delete a user and I got the proper localized message on sweet alert dialog.
Can you share your project with us via email ?
Hi,
Do you only have this localization problem with sweet alert ? And do you have any javascript error on client side ? You can check your browser's developer console.
Hi,
Did you deploy on a VM ? If so, you can check Logs.txt (under your iis site folder) for more error details. Otherwise you can check Azure's logs to see error details.
It might be a configuration issue.
Hi,
I have got your project. It seems like you created a class named EntityDto in your project. You should delete it and use ABP's EntityDto class.
Hi,
You can use this extension for Visual Studio <a class="postlink" href="https://visualstudiogallery.msdn.microsoft.com/3b329021-cd7a-4a01-86fc-714c2d05bb6c">https://visualstudiogallery.msdn.micros ... 4c2d05bb6c</a>.
This page also explains how to generate .css files from .less files.