mirror of
https://github.com/bitwarden/server
synced 2026-01-08 11:33:26 +00:00
Added device identifier, APIs for updating token by identifier, Device creation/update upon signin.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
CREATE PROCEDURE [dbo].[Device_ReadByIdentifierUserId]
|
||||
@UserId UNIQUEIDENTIFIER,
|
||||
@Identifier NVARCHAR(50)
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON
|
||||
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
[dbo].[DeviceView]
|
||||
WHERE
|
||||
[UserId] = @UserId
|
||||
AND [Identifier] = @Identifier
|
||||
END
|
||||
Reference in New Issue
Block a user