1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

support for password revision date on logins

This commit is contained in:
Kyle Spearrin
2018-07-27 17:48:18 -04:00
parent 6d431f7832
commit 6a8d2c305e
6 changed files with 25 additions and 12 deletions

View File

@@ -3,16 +3,19 @@ import { View } from './view';
import { Login } from '../domain/login';
import { PlatformUtilsService } from '../../abstractions/platformUtils.service';
export class LoginView implements View {
username: string;
password: string;
passwordRevisionDate?: Date;
totp: string;
uris: LoginUriView[];
constructor(l?: Login) {
// ctor
if (!l) {
return;
}
this.passwordRevisionDate = l.passwordRevisionDate;
}
get uri(): string {