1
0
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:
Andrew Dolgov
2010-06-10 14:29:55 +04:00
parent 76e3b28010
commit 50e7dd7d01
3 changed files with 14 additions and 2 deletions

View File

@@ -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...");