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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user