diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-05-09 10:14:57 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-05-09 10:14:57 -0300 |
commit | 7ff089e3178fc04c73c05e538f4014fc78b88c60 (patch) | |
tree | 3d2502bd4b63dbc1f81622be528450c8bd7f4178 | |
parent | 48919d55b818d4cef33e516badd4908c6db1f7b3 (diff) | |
download | serverdata-7ff089e3178fc04c73c05e538f4014fc78b88c60.tar.gz serverdata-7ff089e3178fc04c73c05e538f4014fc78b88c60.tar.bz2 serverdata-7ff089e3178fc04c73c05e538f4014fc78b88c60.tar.xz serverdata-7ff089e3178fc04c73c05e538f4014fc78b88c60.zip |
Create a default administrative user as 9/10 cases this is run for localhosts
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | sql-files/main.sql | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -23,3 +23,8 @@ be on the dark. It will output an "OK" at the end, if everything ran fine. For support head to [#tmw2-dev](http://web.libera.chat/?channels=#tmw2-dev) Libera Chat IRC channel. + +---- + +**Default administrative user:** `admin` +**Default administrative pass:** `admin` diff --git a/sql-files/main.sql b/sql-files/main.sql index 5aa064ac0..f7bda548d 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -682,6 +682,8 @@ CREATE TABLE IF NOT EXISTS `login` ( INSERT IGNORE INTO `login` (`account_id`, `userid`, `user_pass`, `sex`, `email`) VALUES ('1', 's1', 'p1', 'S','athena@athena.com'); +INSERT IGNORE INTO `login` (`userid`, `user_pass`, `sex`, `email`, `group_id`) VALUES ('admin', 'admin', 'M', 'admin@moubootaurlegends.org', 99); + -- -- Table structure for table `mapreg` -- |