C# Class UmbracoAdminReset.ResetAdmin

Simple class to reset the admin user to username Admin and to a configured or default password.
Inheritance: Umbraco.Core.ApplicationEventHandler
Mostrar archivo Open project: rsoeteman/umbraco-admin-reset

Protected Methods

Method Description
ApplicationStarted ( Umbraco.Core.UmbracoApplicationBase umbracoApplication, Umbraco.Core.ApplicationContext applicationContext ) : void

Private Methods

Method Description
GetNewPassword ( ) : string

Gets the new password, which will either come from the web.config, or it will be the default password.

Method Details

ApplicationStarted() protected method

protected ApplicationStarted ( Umbraco.Core.UmbracoApplicationBase umbracoApplication, Umbraco.Core.ApplicationContext applicationContext ) : void
umbracoApplication Umbraco.Core.UmbracoApplicationBase
applicationContext Umbraco.Core.ApplicationContext
return void