mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	include email + pw for frontend user editing
This commit is contained in:
		@@ -8,6 +8,8 @@
 | 
			
		||||
      <div class="row">
 | 
			
		||||
        <div class="col">
 | 
			
		||||
          <app-input-text i18n-title title="Username" formControlName="username" [error]="error?.username"></app-input-text>
 | 
			
		||||
          <app-input-text i18n-title title="Email" formControlName="email" [error]="error?.email"></app-input-text>
 | 
			
		||||
          <app-input-password i18n-title title="Password" formControlName="password" [error]="error?.password"></app-input-password>
 | 
			
		||||
          <app-input-text i18n-title title="First name" formControlName="first_name" [error]="error?.first_name"></app-input-text>
 | 
			
		||||
          <app-input-text i18n-title title="Last name" formControlName="last_name" [error]="error?.first_name"></app-input-text>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -48,6 +48,8 @@ export class UserEditDialogComponent
 | 
			
		||||
  getForm(): FormGroup {
 | 
			
		||||
    return new FormGroup({
 | 
			
		||||
      username: new FormControl(''),
 | 
			
		||||
      email: new FormControl(''),
 | 
			
		||||
      password: new FormControl(null),
 | 
			
		||||
      first_name: new FormControl(''),
 | 
			
		||||
      last_name: new FormControl(''),
 | 
			
		||||
      is_active: new FormControl(true),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user