mirror of
				https://github.com/lunaisnotaboy/mastodon.git
				synced 2025-10-31 12:36:09 +00:00 
			
		
		
		
	Prevent new accounts from being created using the same underlying e-mail as a suspended account using extensions and period permutations. Stores e-mails as a SHA256 hash
		
			
				
	
	
		
			5 lines
		
	
	
		
			113 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			113 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| Fabricator(:canonical_email_block) do
 | |
|   email "test@example.com"
 | |
|   reference_account { Fabricate(:account) }
 | |
| end
 |