feat: setup and roles
This commit is contained in:
@@ -66,6 +66,9 @@ const submit = async () => {
|
||||
needsCode.value = true;
|
||||
error.value = 'This account has two-factor sign-in on. Enter a code to continue.';
|
||||
break;
|
||||
case 'LAST_ADMIN':
|
||||
error.value = 'You are the only admin of this instance. Make someone else an admin first. Nothing was deleted.';
|
||||
break;
|
||||
default:
|
||||
error.value = 'Your account could not be deleted. Nothing was deleted, try again.';
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user