Re-enable Webfinger for locked accounts but don't handle "follow" events
coming in via Salmon. Currently no way to prevent remote follows, but they will only receive public and unlisted posts
This commit is contained in:
		
					parent
					
						
							
								f729cfc881
							
						
					
				
			
			
				commit
				
					
						05b13c38b5
					
				
			
		
					 3 changed files with 3 additions and 3 deletions
				
			
		|  | @ -13,7 +13,7 @@ class XrdController < ApplicationController | |||
|   end | ||||
| 
 | ||||
|   def webfinger | ||||
|     @account = Account.where(locked: false).find_local!(username_from_resource) | ||||
|     @account = Account.find_local!(username_from_resource) | ||||
|     @canonical_account_uri = "acct:#{@account.username}@#{Rails.configuration.x.local_domain}" | ||||
|     @magic_key = pem_to_magic_key(@account.keypair.public_key) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue