Skip to content

config.contact.emai is undefined in UserUnverified.vue when email is not verified #195

@working-name

Description

@working-name

Describe the bug
When you don't have any users with a verified email and you try to log in, config.contact.email does not exist.

<div v-if="ready.config && config.contact.email">

One possible way to handle it might be to make it optional

<div v-if="ready.config && config?.contact?.email">

Once that was in place I was given the option to resend the verification email.

  • properly handle missing config.contact.email
  • add admin notification area for missing config entries (can be used later for all kinds of messages to the admin)

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):
N/A

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working or feels broken

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions