First steps for webauthn

This commit is contained in:
2023-01-24 18:00:32 -06:00
parent 0b8c4b87df
commit 3d6908b7ec
4 changed files with 20 additions and 1 deletions

View File

@@ -104,6 +104,11 @@ const template = `
@click="change_password"
>{{ t['password.change'] }}</button>
</li>
<li class="list-group-item">
<h4>{{ t['authn.authn'] }}</h4>
<p>{{ t['authn.desc'].replace(/APP_NAME/g, app_name) }}</p>
<button class="btn btn-success btn-sm" type="button">{{ t['authn.enable'] }}</button>
</li>
<li class="list-group-item" v-if="ready && !has_mfa && (!user_id || user_id === 'me')">
<h4>{{ t['mfa.mfa'] }}</h4>
<p>{{ t['profile.mfa_1'].replace(/APP_NAME/g, app_name) }}</p>
@@ -291,7 +296,10 @@ export default class EditProfileComponent extends Component {
'profile.advanced_header',
'profile.advanced_shell',
'profile.accessed',
'common.never'
'common.never',
'authn.authn',
'authn.desc',
'authn.enable',
)
this.app_name = session.get('app.name')