File tree Expand file tree Collapse file tree 1 file changed +32
-34
lines changed Expand file tree Collapse file tree 1 file changed +32
-34
lines changed Original file line number Diff line number Diff line change 1717
1818<template >
1919 <div class =" center" >
20- <a-form >
21- <img
22- v-if =" $config.banner"
23- :src =" $config.banner"
24- class =" user-layout-logo"
25- alt =" logo" >
26- <h1 style =" text-align : center ; font-size : 24px ; color : gray " > {{ $t('label.two.factor.authentication') }} </h1 >
27- <p v-if =" $store.getters.twoFaProvider === 'totp'" style =" text-align : center ; font-size : 16px ;" v-html =" $t('message.two.fa.auth.totp')" ></p >
28- <p v-if =" $store.getters.twoFaProvider === 'staticpin'" style =" text-align : center ; font-size : 16px ;" v-html =" $t('message.two.fa.auth.staticpin')" ></p >
29- <br />
30- <a-form
31- :ref =" formRef"
32- :model =" form"
33- :rules =" rules"
34- @finish =" handleSubmit"
35- layout =" vertical" >
36- <a-form-item name =" code" ref =" code" style =" text-align : center ;" >
37- <a-input-password
38- style =" width : 500px "
39- v-model:value =" form.code"
40- placeholder =" xxxxxx" />
41- </a-form-item >
42- <br />
43- <div :span =" 24" class =" center-align top-padding" >
44- <a-button
45- :loading =" loading"
46- ref =" submit"
47- type =" primary"
48- :disabled =" buttonstate"
49- class =" center-align"
50- @click =" handleSubmit" >{{ $t('label.verify') }}
51- </a-button >
52- </div >
20+ <img
21+ v-if =" $config.banner"
22+ :src =" $config.banner"
23+ class =" user-layout-logo"
24+ alt =" logo" >
25+ <h1 style =" text-align : center ; font-size : 24px ; color : gray " > {{ $t('label.two.factor.authentication') }} </h1 >
26+ <p v-if =" $store.getters.twoFaProvider === 'totp'" style =" text-align : center ; font-size : 16px ;" v-html =" $t('message.two.fa.auth.totp')" ></p >
27+ <p v-if =" $store.getters.twoFaProvider === 'staticpin'" style =" text-align : center ; font-size : 16px ;" v-html =" $t('message.two.fa.auth.staticpin')" ></p >
28+ <br />
29+ <a-form
30+ :ref =" formRef"
31+ :model =" form"
32+ :rules =" rules"
33+ @finish =" handleSubmit"
34+ layout =" vertical" >
35+ <a-form-item name =" code" ref =" code" style =" text-align : center ;" >
36+ <a-input-password
37+ style =" width : 500px "
38+ v-model:value =" form.code"
39+ placeholder =" xxxxxx" />
40+ </a-form-item >
41+ <br />
42+ <div :span =" 24" class =" center-align top-padding" >
43+ <a-button
44+ :loading =" loading"
45+ ref =" submit"
46+ type =" primary"
47+ :disabled =" buttonstate"
48+ class =" center-align"
49+ @click =" handleSubmit" >{{ $t('label.verify') }}
50+ </a-button >
51+ </div >
5352
54- </a-form >
5553 </a-form >
5654 </div >
5755</template >
You can’t perform that action at this time.
0 commit comments