[Client] Improve 2fa settings
This commit is contained in:
		
							parent
							
								
									3adadc8a52
								
							
						
					
					
						commit
						4e55436339
					
				|  | @ -952,6 +952,7 @@ desktop/views/components/settings.2fa.vue: | ||||||
|   enter-password: "パスワードを入力してください" |   enter-password: "パスワードを入力してください" | ||||||
|   authenticator: "まず、Google Authenticatorをお使いのデバイスにインストールします:" |   authenticator: "まず、Google Authenticatorをお使いのデバイスにインストールします:" | ||||||
|   howtoinstall: "インストール方法はこちら" |   howtoinstall: "インストール方法はこちら" | ||||||
|  |   token: "トークン" | ||||||
|   scan: "次に、表示されているQRコードをスキャンします:" |   scan: "次に、表示されているQRコードをスキャンします:" | ||||||
|   done: "お使いのデバイスに表示されているトークンを入力して完了します:" |   done: "お使いのデバイスに表示されているトークンを入力して完了します:" | ||||||
|   submit: "完了" |   submit: "完了" | ||||||
|  |  | ||||||
|  | @ -7,16 +7,16 @@ | ||||||
| 		<p>{{ $t('already-registered') }}</p> | 		<p>{{ $t('already-registered') }}</p> | ||||||
| 		<ui-button @click="unregister">{{ $t('unregister') }}</ui-button> | 		<ui-button @click="unregister">{{ $t('unregister') }}</ui-button> | ||||||
| 	</template> | 	</template> | ||||||
| 	<div v-if="data"> | 	<div v-if="data && !$store.state.i.twoFactorEnabled"> | ||||||
| 		<ol> | 		<ol> | ||||||
| 			<li>{{ $t('authenticator') }}<a href="https://support.google.com/accounts/answer/1066447" target="_blank">{{ $t('howtoinstall') }}</a></li> | 			<li>{{ $t('authenticator') }}<a href="https://support.google.com/accounts/answer/1066447" target="_blank">{{ $t('howtoinstall') }}</a></li> | ||||||
| 			<li>{{ $t('scan') }}<br><img :src="data.qr"></li> | 			<li>{{ $t('scan') }}<br><img :src="data.qr"></li> | ||||||
| 			<li>{{ $t('done') }}<br> | 			<li>{{ $t('done') }}<br> | ||||||
| 				<input type="number" v-model="token" class="ui"> | 				<ui-input v-model="token">{{ $t('token') }}</ui-input> | ||||||
| 				<ui-button primary @click="submit">{{ $t('submit') }}</ui-button> | 				<ui-button primary @click="submit">{{ $t('submit') }}</ui-button> | ||||||
| 			</li> | 			</li> | ||||||
| 		</ol> | 		</ol> | ||||||
| 		<div class="ui info"><p><fa icon="info-circle"/>{{ $t('info') }}</p></div> | 		<ui-info>{{ $t('info') }}</ui-info> | ||||||
| 	</div> | 	</div> | ||||||
| </div> | </div> | ||||||
| </template> | </template> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue