mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-04 23:13:12 -05:00
fix: disable invitations when password login is disabled (#6781)
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<ToggleState tag="article">
|
||||
<template #activator="{ toggle, state }">
|
||||
<v-btn
|
||||
v-if="!state"
|
||||
v-if="!state && $appInfo.allowPasswordLogin"
|
||||
color="info"
|
||||
class="mt-2 mb-n3"
|
||||
@click="toggle"
|
||||
@@ -37,7 +37,7 @@
|
||||
{{ $t("settings.change-password") }}
|
||||
</v-btn>
|
||||
<v-btn
|
||||
v-else
|
||||
v-else-if="$appInfo.allowPasswordLogin"
|
||||
color="info"
|
||||
class="mt-2 mb-n3"
|
||||
@click="toggle"
|
||||
@@ -111,7 +111,7 @@
|
||||
class="mt-10"
|
||||
:title="$t('settings.change-password')"
|
||||
/>
|
||||
<v-card variant="outlined">
|
||||
<v-card variant="outlined" style="border-color: lightgrey;">
|
||||
<v-card-text class="pb-0">
|
||||
<v-form ref="passChange">
|
||||
<v-text-field
|
||||
|
||||
Reference in New Issue
Block a user