mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	To support token auth better, increase the password field (more of a double duty) to be 2048 chars
This commit is contained in:
		| @@ -0,0 +1,17 @@ | ||||
| # Generated by Django 4.1.7 on 2023-04-20 15:03 | ||||
|  | ||||
| from django.db import migrations, models | ||||
|  | ||||
|  | ||||
| class Migration(migrations.Migration): | ||||
|     dependencies = [ | ||||
|         ("paperless_mail", "0020_mailaccount_is_token"), | ||||
|     ] | ||||
|  | ||||
|     operations = [ | ||||
|         migrations.AlterField( | ||||
|             model_name="mailaccount", | ||||
|             name="password", | ||||
|             field=models.CharField(max_length=2048, verbose_name="password"), | ||||
|         ), | ||||
|     ] | ||||
| @@ -36,7 +36,7 @@ class MailAccount(document_models.ModelWithOwner): | ||||
|  | ||||
|     username = models.CharField(_("username"), max_length=256) | ||||
|  | ||||
|     password = models.CharField(_("password"), max_length=256) | ||||
|     password = models.CharField(_("password"), max_length=2048) | ||||
|  | ||||
|     is_token = models.BooleanField(_("Is token authentication"), default=False) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Trenton H
					Trenton H