0
WilliamT created
- ABP Framework version: v8.2.0
- UI Type: MVC
- Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace:
- Steps to reproduce the issue:
Hi I want to add extra verification code input field on my login. I tried to modify the page and model using this https://github.com/abpframework/abp/blob/dev/source-code/Volo.Abp.Account.SourceCode/Volo.Abp.Account.SourceCode.zip
however i got error "ThereAreNoLoginSchemesConfiguredForThisClient"
how do i actually use this source code?
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
7 Answer(s)
-
0
I tried to modify the page and model using this https://github.com/abpframework/abp/blob/dev/source-code/Volo.Abp.Account.SourceCode/Volo.Abp.Account.SourceCode.zip
This is open source,
you can use suite to download the commercial module source Code
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
you can try
public class IndexModel : ... { public ActionResult OnGet() { if (!CurrentUser.IsAuthenticated) { return Redirect("/Account/Login"); } return Page(); } }Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
yes,
another simple way is
@attribute [Authorize] .. page code...Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
:)
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)