mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 15:31:28 +00:00
prevent default admin user from being removed; properly fail on startup if single user mode is enabled but default admin user is missing from the database
This commit is contained in:
2
prefs.js
2
prefs.js
@@ -465,7 +465,7 @@ function removeSelectedUsers() {
|
||||
|
||||
if (sel_rows.length > 0) {
|
||||
|
||||
var ok = confirm(__("Remove selected users?"));
|
||||
var ok = confirm(__("Remove selected users? Neither default admin nor your account will be removed."));
|
||||
|
||||
if (ok) {
|
||||
notify_progress("Removing selected users...");
|
||||
|
||||
Reference in New Issue
Block a user