we don't remember passphrase during 30 secondes if it is wrong
This commit is contained in:
		
							parent
							
								
									7538333c5d
								
							
						
					
					
						commit
						f4b341d435
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -568,6 +568,8 @@ class Interface:
 | 
			
		|||
			config.GroupchatConfigWindow(self, account, jid, array[1])
 | 
			
		||||
 | 
			
		||||
	def handle_event_bad_passphrase(self, account, array):
 | 
			
		||||
		keyID = gajim.config.get_per('accounts', account, 'keyid')
 | 
			
		||||
		self.roster.forget_gpg_passphrase(keyID)
 | 
			
		||||
		dialogs.WarningDialog(_('Your GPG passphrase is incorrect'),
 | 
			
		||||
			_('You are currently connected without your GPG key.')).get_response()
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue