mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	Fixed recovery code refresh bug.
This commit is contained in:
		
							parent
							
								
									9dd185e37e
								
							
						
					
					
						commit
						ede7bbd8ed
					
				| @ -133,6 +133,8 @@ export default class MultiFactorAuthenticationOptions extends OptionsWidget { | ||||
|         this.$protectedSessionTimeout.val() | ||||
|       ) | ||||
|     ); | ||||
| 
 | ||||
|     this.displayRecoveryKeys(); | ||||
|   } | ||||
| 
 | ||||
|   async setRecoveryKeys() { | ||||
| @ -182,7 +184,6 @@ export default class MultiFactorAuthenticationOptions extends OptionsWidget { | ||||
|           this.$totpEnabled.prop("checked", result.message); | ||||
|           this.$authenticatorCode.prop("disabled", !result.message); | ||||
|           this.$generateRecoveryCodeButton.prop("disabled", !result.message); | ||||
|           this.displayRecoveryKeys(); | ||||
|       } | ||||
|       else { | ||||
|         this.$totpEnabled.prop("checked", false); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 chesspro13
						chesspro13