Nothing Special   »   [go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

[BUG] Mobile app crashes if user doen't have email. #194

Closed
3 of 7 tasks
bhrg3se opened this issue Nov 27, 2020 · 0 comments
Closed
3 of 7 tasks

[BUG] Mobile app crashes if user doen't have email. #194

bhrg3se opened this issue Nov 27, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bhrg3se
Copy link
Member
bhrg3se commented Nov 27, 2020

Describe the bug:

If the user doesn't have an email (eg root user), the org name is blank during device enrollment.
This causes the mobile app to crash if you go to the TOTP page.

This issue does not happen during enrollment of first device.
It seems the is the issue is related to /tfa API.

Expected behavior:

The API should always return org name and the mobile app should not crash when TOTP issuer is blank.

Log file / Code snippet / Screenshots:

ERRO[2020-11-27T12:13:26+05:45]auth/hTfa.go:300 github.com/seknox/trasa/server/api/auth.handleIntentResponse sql: no rows in result set

Scope of issue:

  • TRASA codebase
  • dashboard
  • server
  • mobile app
  • browser extension
  • device agent
  • website/docs

Versions:

  • TRASA version: master
@bhrg3se bhrg3se added the bug Something isn't working label Nov 27, 2020
@bhrg3se bhrg3se self-assigned this Nov 27, 2020
bhrg3se added a commit that referenced this issue Nov 27, 2020
@bhrg3se bhrg3se closed this as completed Nov 27, 2020
@flyinghermit flyinghermit reopened this Nov 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants