Fix possible password security problem.
This commit is contained in:
		
							parent
							
								
									33fedd0939
								
							
						
					
					
						commit
						bc4b6c6e08
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -529,7 +529,7 @@ td | ||||||
|                'authorize': |                'authorize': | ||||||
|                { |                { | ||||||
|                   'username': settings.credentials.username, |                   'username': settings.credentials.username, | ||||||
|                   'password': MD5(MD5(settings.credentials.password) + settings.credentials.authstring) |                   'password': (settings.credentials.authstring != "" ? MD5(MD5(settings.credentials.password) + settings.credentials.authstring) : "" ) | ||||||
|                }, |                }, | ||||||
|                'save': 1 |                'save': 1 | ||||||
|             }; |             }; | ||||||
|  | @ -566,7 +566,7 @@ td | ||||||
|                'authorize': |                'authorize': | ||||||
|                { |                { | ||||||
|                   'username': settings.credentials.username, |                   'username': settings.credentials.username, | ||||||
|                   'password': MD5(MD5(settings.credentials.password) + settings.credentials.authstring) |                   'password': (settings.credentials.authstring != "" ? MD5(MD5(settings.credentials.password) + settings.credentials.authstring) : "" ) | ||||||
|                } |                } | ||||||
|             }; |             }; | ||||||
| 
 | 
 | ||||||
|  | @ -646,7 +646,7 @@ td | ||||||
|                    'authorize': |                    'authorize': | ||||||
|                    { |                    { | ||||||
|                       'username': settings.credentials.username, |                       'username': settings.credentials.username, | ||||||
|                       'password': MD5(MD5(settings.credentials.password) + settings.credentials.authstring) |                       'password': (settings.credentials.authstring != "" ? MD5(MD5(settings.credentials.password) + settings.credentials.authstring) : "" ) | ||||||
|                    } |                    } | ||||||
|                 }); |                 }); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 root
						root