mirror of
				https://framagit.org/tom79/fedilab-tube
				synced 2025-06-05 21:09:11 +02:00 
			
		
		
		
	Fix a register issue
This commit is contained in:
		| @@ -145,9 +145,11 @@ public class PeertubeRegisterActivity extends AppCompatActivity { | |||||||
|                 return; |                 return; | ||||||
|             } |             } | ||||||
|             String[] emailArray = email.getText().toString().split("@"); |             String[] emailArray = email.getText().toString().split("@"); | ||||||
|             if (emailArray.length > 1 && !Arrays.asList(Helper.valideEmails).contains(emailArray[1])) { |             if (!BuildConfig.full_instances) { | ||||||
|                 Toasty.error(PeertubeRegisterActivity.this, getString(R.string.email_error_domain, emailArray[1])).show(); |                 if (emailArray.length > 1 && !Arrays.asList(Helper.valideEmails).contains(emailArray[1])) { | ||||||
|                 return; |                     Toasty.error(PeertubeRegisterActivity.this, getString(R.string.email_error_domain, emailArray[1])).show(); | ||||||
|  |                     return; | ||||||
|  |                 } | ||||||
|             } |             } | ||||||
|  |  | ||||||
|             if (password.getText().toString().trim().length() < 8) { |             if (password.getText().toString().trim().length() < 8) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user