1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 21:18:13 -05:00

update account revision when password changes

This commit is contained in:
Kyle Spearrin 2017-01-14 12:50:36 -05:00
parent 1bef3a1e5b
commit a5718a1843
2 changed files with 4 additions and 3 deletions

View File

@ -68,8 +68,8 @@
<Build Include="dbo\Tables\Cipher.sql" />
<Build Include="dbo\Tables\Device.sql" />
<Build Include="dbo\Tables\History.sql" />
<Build Include="dbo\Tables\User.sql" />
<Build Include="dbo\Tables\Grant.sql" />
<Build Include="dbo\Tables\User.sql" />
<Build Include="dbo\Views\CipherView.sql" />
<Build Include="dbo\Views\DeviceView.sql" />
<Build Include="dbo\Views\HistoryView.sql" />

View File

@ -16,7 +16,8 @@ BEGIN
[EmailVerified] = @EmailVerified,
[MasterPassword] = @MasterPassword,
[SecurityStamp] = @SecurityStamp,
[RevisionDate] = @RevisionDate
[RevisionDate] = @RevisionDate,
[AccountRevisionDate] = @RevisionDate
WHERE
[Id] = @Id
END
END