зеркало из https://github.com/mozilla/pjs.git
Add an adminMessage to the default admin user.
This commit is contained in:
Родитель
6e56e6b19b
Коммит
47dc9075c5
|
@ -312,6 +312,9 @@ sub setupInstall {
|
|||
|
||||
# add the user to group 1 as an administrator (so he's an administrator of administrators)
|
||||
$user->joinGroup(1, 2); # XXX HARDCODED CONSTANT ALERT
|
||||
|
||||
# add an adminMessage to the user
|
||||
$user->adminMessage('Logged in with administrative privileges, please be careful.');
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Загрузка…
Ссылка в новой задаче