fixed user/admin settings page error
This commit is contained in:
@@ -39,7 +39,7 @@ new class extends Component {
|
||||
<section class="w-full">
|
||||
@include('partials.settings-heading')
|
||||
|
||||
<x-settings.layout :heading="__('Update password')" :subheading="__('Ensure your account is using a long, random password to stay secure')">
|
||||
<x-settings.layout :heading="__('navigation.password_heading')" :subheading="__('navigation.password_subheading')">
|
||||
<form method="POST" wire:submit="updatePassword" class="mt-6 space-y-6">
|
||||
<flux:input
|
||||
wire:model="current_password"
|
||||
|
||||
@@ -95,7 +95,7 @@ new class extends Component {
|
||||
<section class="w-full">
|
||||
@include('partials.settings-heading')
|
||||
|
||||
<x-settings.layout :heading="__('Profile')" :subheading="__('Update your name and email address')">
|
||||
<x-settings.layout :heading="__('navigation.profile_heading')" :subheading="__('navigation.profile_subheading')">
|
||||
<form wire:submit="updateProfileInformation" class="my-6 w-full space-y-6">
|
||||
<flux:input wire:model="full_name" :label="__('Full Name')" type="text" required autofocus autocomplete="name" />
|
||||
|
||||
|
||||
@@ -181,8 +181,8 @@ new class extends Component {
|
||||
@include('partials.settings-heading')
|
||||
|
||||
<x-settings.layout
|
||||
:heading="__('Two Factor Authentication')"
|
||||
:subheading="__('Manage your two-factor authentication settings')"
|
||||
:heading="__('navigation.two_factor_heading')"
|
||||
:subheading="__('navigation.two_factor_subheading')"
|
||||
>
|
||||
<div class="flex flex-col w-full mx-auto space-y-6 text-sm" wire:cloak>
|
||||
@if ($twoFactorEnabled)
|
||||
|
||||
Reference in New Issue
Block a user