HomePhabricator
Diffusion Comm 913012d3c753

[identity] add optional force param to password login RPC

Description

[identity] add optional force param to password login RPC

Summary:
context here

tl;dr we neeed an optional force param so that we can determine when a user is intentionally replacing their existing keyserver with a new one

Test Plan: logged in to local identity from local keyserver. then tried logging in from docker keyserver with the same credentials -- this failed. then tried logging in again from the docker keyserver with the same credentials AND force set to true -- this succeeded. The old keyserver device id was removed from DDB and the new one was added

Reviewers: bartek

Reviewed By: bartek

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D11278

Details

Provenance
varunAuthored on Mar 7 2024, 11:51 PM
Reviewer
bartek
Differential Revision
D11278: [identity] add optional force param to password login RPC
Parents
rCOMMa4f77daafee9: [lib][web][native] Use real admin username or id when adding a ks
Branches
Unknown
Tags
Unknown