1 @extends('users.account.layout')
5 @if($authMethod === 'standard')
6 <section class="card content-wrap auto-height">
7 <form action="{{ url('/my-account/auth/password') }}" method="post">
8 {{ method_field('put') }}
11 <h2 class="list-heading">{{ trans('preferences.auth_change_password') }}</h2>
13 <p class="text-muted text-small">
14 {{ trans('preferences.auth_change_password_desc') }}
17 <div class="grid half mt-m gap-xl wrap stretch-inputs mb-m">
19 <label for="password">{{ trans('auth.password') }}</label>
20 @include('form.password', ['name' => 'password', 'autocomplete' => 'new-password'])
23 <label for="password-confirm">{{ trans('auth.password_confirm') }}</label>
24 @include('form.password', ['name' => 'password-confirm'])
28 <div class="form-group text-right">
29 <button class="button">{{ trans('common.update') }}</button>
36 <section class="card content-wrap auto-height items-center flex-container-row gap-m gap-x-l wrap justify-space-between">
37 <div class="flex-min-width-m">
38 <h2 class="list-heading">{{ trans('settings.users_mfa') }}</h2>
39 <p class="text-muted text-small">{{ trans('settings.users_mfa_desc') }}</p>
40 <p class="text-muted">
41 @if ($mfaMethods->count() > 0)
42 <span class="text-pos">@icon('check-circle')</span>
44 <span class="text-neg">@icon('cancel')</span>
46 {{ trans_choice('settings.users_mfa_x_methods', $mfaMethods->count()) }}
49 <div class="text-right">
50 <a href="{{ url('/mfa/setup') }}"
51 class="button outline">{{ trans('common.manage') }}</a>
55 @if(count($activeSocialDrivers) > 0)
56 <section id="social-accounts" class="card content-wrap auto-height">
57 <h2 class="list-heading">{{ trans('settings.users_social_accounts') }}</h2>
58 <p class="text-muted text-small">{{ trans('settings.users_social_accounts_info') }}</p>
59 <div class="container">
60 <div class="grid third">
61 @foreach($activeSocialDrivers as $driver => $enabled)
62 <div class="text-center mb-m">
63 <div role="presentation">@icon('auth/'. $driver, ['style' => 'width: 56px;height: 56px;'])</div>
65 @if(user()->hasSocialAccount($driver))
66 <form action="{{ url("/login/service/{$driver}/detach") }}" method="POST">
68 <button aria-label="{{ trans('settings.users_social_disconnect') }} - {{ $driver }}"
69 class="button small outline">{{ trans('settings.users_social_disconnect') }}</button>
72 <a href="{{ url("/login/service/{$driver}") }}"
73 aria-label="{{ trans('settings.users_social_connect') }} - {{ $driver }}"
74 class="button small outline">{{ trans('settings.users_social_connect') }}</a>
84 @if(userCan('access-api'))
85 @include('users.api-tokens.parts.list', ['user' => user(), 'context' => 'my-account'])