1
0
mirror of https://github.com/bitwarden/web synced 2025-12-12 06:13:28 +00:00

added password generator tool

This commit is contained in:
Kyle Spearrin
2018-06-20 18:16:20 -04:00
parent 7979953f33
commit 367104f0a7
11 changed files with 262 additions and 8 deletions

View File

@@ -16,6 +16,7 @@ import { TwoFactorComponent } from './accounts/two-factor.component';
import { ExportComponent } from './tools/export.component';
import { ImportComponent } from './tools/import.component';
import { PasswordGeneratorComponent } from './tools/password-generator.component';
import { ToolsComponent } from './tools/tools.component';
import { VaultComponent } from './vault/vault.component';
@@ -45,9 +46,10 @@ const routes: Routes = [
path: 'tools',
component: ToolsComponent,
children: [
{ path: '', pathMatch: 'full', redirectTo: 'import' },
{ path: '', pathMatch: 'full', redirectTo: 'generator' },
{ path: 'import', component: ImportComponent, canActivate: [AuthGuardService] },
{ path: 'export', component: ExportComponent, canActivate: [AuthGuardService] },
{ path: 'generator', component: PasswordGeneratorComponent, canActivate: [AuthGuardService] },
],
},
],