First steps for webauthn
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user