15088: Sets correct account after second login
authorEric Biagiotti <ebiagiotti@veritasgenetics.com>
Fri, 3 May 2019 21:46:34 +0000 (17:46 -0400)
committerEric Biagiotti <ebiagiotti@veritasgenetics.com>
Fri, 3 May 2019 21:46:34 +0000 (17:46 -0400)
commit2f857ebcd67a607b7fde9c0ea4808ac30c591876
treec8714056235caa6c56c395e484913280a475d882
parentdcab8d69b5fb93c025c49fd85bf39d038c4fb3d0
15088: Sets correct account after second login

- Fixes linking admin and non-admin accounts
- If linking fails or is cancelled, login as the user who originated the link operation
- Improved some naming to make the direction of the linking more clear

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>
src/services/link-account-service/link-account-service.ts
src/store/link-account-panel/link-account-panel-actions.ts
src/store/link-account-panel/link-account-panel-reducer.ts
src/views/link-account-panel/link-account-panel-root.tsx
src/views/link-account-panel/link-account-panel.tsx