Browse Source

refac: default role updated to user for add user modal

Timothy J. Baek 1 year ago
parent
commit
bf35297e4a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/components/admin/AddUserModal.svelte

+ 2 - 2
src/lib/components/admin/AddUserModal.svelte

@@ -20,7 +20,7 @@
 		name: '',
 		email: '',
 		password: '',
-		role: 'pending'
+		role: 'user'
 	};
 
 	$: if (show) {
@@ -28,7 +28,7 @@
 			name: '',
 			email: '',
 			password: '',
-			role: 'pending'
+			role: 'user'
 		};
 	}