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
Afficher le fichier Open project: rsoeteman/umbraco-admin-reset

Méthodes protégées

Méthode Description
ApplicationStarted ( Umbraco.Core.UmbracoApplicationBase umbracoApplication, Umbraco.Core.ApplicationContext applicationContext ) : void

Private Methods

Méthode 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 méthode

protected ApplicationStarted ( Umbraco.Core.UmbracoApplicationBase umbracoApplication, Umbraco.Core.ApplicationContext applicationContext ) : void
umbracoApplication Umbraco.Core.UmbracoApplicationBase
applicationContext Umbraco.Core.ApplicationContext
Résultat void