@extends('users.account.layout') @section('main') @if($authMethod === 'standard') {{ method_field('put') }} {{ csrf_field() }} {{ trans('preferences.auth_change_password') }} {{ trans('preferences.auth_change_password_desc') }} {{ trans('auth.password') }} @include('form.password', ['name' => 'password', 'autocomplete' => 'new-password']) {{ trans('auth.password_confirm') }} @include('form.password', ['name' => 'password-confirm']) {{ trans('common.update') }} @endif {{ trans('settings.users_mfa') }} {{ trans('settings.users_mfa_desc') }} @if ($mfaMethods->count() > 0) @icon('check-circle') @else @icon('cancel') @endif {{ trans_choice('settings.users_mfa_x_methods', $mfaMethods->count()) }} {{ trans('common.manage') }} @if(count($activeSocialDrivers) > 0) {{ trans('settings.users_social_accounts') }} {{ trans('settings.users_social_accounts_info') }} @foreach($activeSocialDrivers as $driver => $enabled) @icon('auth/'. $driver, ['style' => 'width: 56px;height: 56px;']) @if(user()->hasSocialAccount($driver)) {{ csrf_field() }} {{ trans('settings.users_social_disconnect') }} @else {{ trans('settings.users_social_connect') }} @endif @endforeach @endif @if(userCan('access-api')) @include('users.api-tokens.parts.list', ['user' => user()]) @endif @stop
{{ trans('preferences.auth_change_password_desc') }}
{{ trans('settings.users_mfa_desc') }}
@if ($mfaMethods->count() > 0) @icon('check-circle') @else @icon('cancel') @endif {{ trans_choice('settings.users_mfa_x_methods', $mfaMethods->count()) }}
{{ trans('settings.users_social_accounts_info') }}
{{ trans('settings.users_social_accounts') }}
{{ trans('settings.users_social_accounts_info') }}