
* Refactoring * Refactoring * Check for a valid email. * Fixed missing character. * Moved logic to the Utilities class. * Rename template .sql file * Modified null and empty string check. * Check for a valid email. * Fixed missing character. * Moved logic to the Utilities class. * Added Favicon support, Progressive Web App support, page title and url support, and private/public user registration options * Refactoring * Refactoring * Check for a valid email. * Moved logic to the Utilities class. Co-authored-by: Aubrey <aubrey.b@treskcow.tech> Co-authored-by: MIchael Atwood <matwood@dragonmastery.com> Co-authored-by: Shaun Walker <shaun.walker@siliqon.com>
20 lines
695 B
Plaintext
20 lines
695 B
Plaintext
@namespace Oqtane.Modules.Admin.Error
|
|
@inherits ModuleBase
|
|
@inject IModuleService ModuleService
|
|
|
|
@code {
|
|
public override SecurityAccessLevel SecurityAccessLevel => SecurityAccessLevel.Anonymous;
|
|
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
Module module = await ModuleService.GetModuleAsync(ModuleState.ModuleId);
|
|
if (UserSecurity.IsAuthorized(PageState.User, Constants.HostRole))
|
|
{
|
|
string message = "A Problem Was Encountered Loading Module " + module.ModuleDefinitionName;
|
|
AddModuleMessage(message, MessageType.Error);
|
|
}
|
|
|
|
await logger.LogCritical("Error Loading Module {Module}", module);
|
|
}
|
|
}
|