prevent login and password reset for system accounts
This commit is contained in:
parent
126a2fcf15
commit
cd9bce3072
8 changed files with 45 additions and 1 deletions
15
packages/frontend/src/scripts/show-system-account-dialog.ts
Normal file
15
packages/frontend/src/scripts/show-system-account-dialog.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: hazelnoot and other Sharkey contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import * as os from '@/os.js';
|
||||
import { i18n } from '@/i18n.js';
|
||||
|
||||
export function showSystemAccountDialog(): Promise<void> {
|
||||
return os.alert({
|
||||
type: 'error',
|
||||
title: i18n.ts.systemAccountTitle,
|
||||
text: i18n.ts.systemAccountDescription,
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue