Browse Source
			
			
			Merge pull request #396 from Ponkhy/2fa
			
				Hide 2FA section if disabled auth
			
			
				pull/399/head
			
			
		 
		
			
				
					
						 Louis Lam
					
					4 years ago
						Louis Lam
					
					4 years ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
4 additions and 
5 deletions
			 
			
		 
		
			
				- 
					
					
					 
					src/pages/Settings.vue
				
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -120,11 +120,10 @@ | 
			
		
	
		
		
			
				
					|  |  |                                 </form> |  |  |                                 </form> | 
			
		
	
		
		
			
				
					|  |  |                             </template> |  |  |                             </template> | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |                             <h2 class="mt-5 mb-2"> |  |  |                             <div v-if="! settings.disableAuth" class="mt-5 mb-3"> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |                                 <h2 class="mb-2"> | 
			
		
	
		
		
			
				
					|  |  |                                     {{ $t("Two Factor Authentication") }} |  |  |                                     {{ $t("Two Factor Authentication") }} | 
			
		
	
		
		
			
				
					|  |  |                                 </h2> |  |  |                                 </h2> | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  |  | 
			
		
	
		
		
			
				
					|  |  |                             <div class="mb-3"> |  |  |  | 
			
		
	
		
		
			
				
					|  |  |                                 <button class="btn btn-primary me-2" type="button" @click="$refs.TwoFADialog.show()">{{ $t("2FA Settings") }}</button> |  |  |                                 <button class="btn btn-primary me-2" type="button" @click="$refs.TwoFADialog.show()">{{ $t("2FA Settings") }}</button> | 
			
		
	
		
		
			
				
					|  |  |                             </div> |  |  |                             </div> | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  | 
 |