Offroadcode / Umbraco-2FA

A two factor authentication package for Umbraco.
MIT License
16 stars 15 forks source link

No modify owin startup setting in webconfig #15

Open nick-hoang opened 5 years ago

nick-hoang commented 5 years ago

After install the package, add the Orc.Fortress dll to the references of web project, then follow below sample to config the startup part:

`public class Startup: UmbracoDefaultOwinStartup {
public override void Configuration(IAppBuilder app) { base.Configuration(app);

    **Orc.Fortress.Startup.FortressOwinStartup.ConfigureServices(app);**

}

protected override void ConfigureMiddleware(IAppBuilder app)
{
    **Orc.Fortress.Startup.FortressOwinStartup.ConfigureMiddleware(app);**

    base.ConfigureMiddleware(app);
}

}`