Merge remote-tracking branch 'origin/2fa'

# Conflicts:
#	.php-cs-fixer.cache
#	config/language-translations.php
#	public/mix-manifest.json
#	resources/js/views/Auth/SignIn.vue
#	webpack.mix.js
This commit is contained in:
Peter Papp
2021-07-17 20:25:30 +02:00
18 changed files with 1035 additions and 110 deletions
+11 -3
View File
@@ -1,6 +1,5 @@
<template>
<section id="viewport">
<ContentSidebar>
<!--Settings-->
@@ -43,6 +42,8 @@
</router-link>
</div>
</ContentGroup>
<!--Subscription-->
<ContentGroup title="Subscription" class="navigator" v-if="canShowSubscriptionSettings">
<div class="menu-list-wrapper vertical">
<router-link replace :to="{name: 'Subscription'}" class="menu-list-item link">
@@ -75,7 +76,7 @@
</ContentGroup>
</ContentSidebar>
<div id="single-page" v-if="user">
<div v-if="user" id="single-page">
<div id="page-content" class="medium-width" v-if="! isLoading">
<MobileHeader :title="$t($router.currentRoute.meta.title)"/>
@@ -129,11 +130,16 @@
<Spinner></Spinner>
</div>
</div>
</section>
<!--2FA popups-->
<TwoFactorRecoveryCodesPopup />
<TwoFactorSetupPopup />
</section>
</template>
<script>
import TwoFactorRecoveryCodesPopup from '@/components/Others/TwoFactorRecoveryCodesPopup'
import TwoFactorSetupPopup from '@/components/Others/TwoFactorSetupPopup'
import ContentSidebar from '@/components/Sidebar/ContentSidebar'
import ContentGroup from '@/components/Sidebar/ContentGroup'
import UserImageInput from '@/components/Others/UserImageInput'
@@ -157,6 +163,8 @@
export default {
name: 'Settings',
components: {
TwoFactorRecoveryCodesPopup,
TwoFactorSetupPopup,
ContentSidebar,
CreditCardIcon,
UserImageInput,