1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00

add password history and updated dates to responses

This commit is contained in:
Kyle Spearrin
2018-07-30 11:33:50 -04:00
parent 1486762f40
commit f47f100c0b
4 changed files with 37 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
import { Login } from '../login';
import { LoginView } from 'jslib/models/view';
export class LoginResponse extends Login {
passwordRevisionDate: Date;
constructor(o: LoginView) {
super(o);
this.passwordRevisionDate = o.passwordRevisionDate != null ? o.passwordRevisionDate : null;
}
}