summaryrefslogtreecommitdiffstats
path: root/endpoints/lib/auth
diff options
context:
space:
mode:
authorTudor Holton <tudor@smartguide.com.au>2018-02-16 17:57:10 +1100
committerTudor Holton <tudor@smartguide.com.au>2018-02-16 17:57:10 +1100
commit89a51ad64725059fe1bc8b1ebe7b4f018094e0e0 (patch)
tree0ead66571f2383494ffc210deadd2b73e2b48a43 /endpoints/lib/auth
parent511b11ee2f43677edb2850cfe2bf26e091b6eedd (diff)
parent788f43e263d7b446916000328c5180a0b2015aa9 (diff)
downloadphpvirtualbox-89a51ad64725059fe1bc8b1ebe7b4f018094e0e0.zip
phpvirtualbox-89a51ad64725059fe1bc8b1ebe7b4f018094e0e0.tar.gz
phpvirtualbox-89a51ad64725059fe1bc8b1ebe7b4f018094e0e0.tar.bz2
Merge tag '5.2.0-rc2'
Diffstat (limited to 'endpoints/lib/auth')
-rw-r--r--endpoints/lib/auth/MySQL.php23
1 files changed, 12 insertions, 11 deletions
diff --git a/endpoints/lib/auth/MySQL.php b/endpoints/lib/auth/MySQL.php
index c23346c..bf7caf6 100644
--- a/endpoints/lib/auth/MySQL.php
+++ b/endpoints/lib/auth/MySQL.php
@@ -21,17 +21,18 @@
*/
- /**
- struct of db:
- CREATE TABLE users(
- username VARCHAR(20) PRIMARY KEY,
- password VARCHAR(40),
- admin ENUM('0','1') DEFAULT '0'
- )ENGINE=InnoDB;
-
- INSERT INTO users(username,password,admin)
- VALUES("admin","$1$65CMtT1M$GSDBTEZ6o5Web.4cDL6rz1",'1'); /*user:admin, pass:admin*/
-
+/**
+ * struct of db:
+ * CREATE TABLE users(
+ * username VARCHAR(20) PRIMARY KEY,
+ * password VARCHAR(40),
+ * admin ENUM('0','1') DEFAULT '0'
+ * )ENGINE=InnoDB;
+ *
+ * user:admin, pass:admin
+ * INSERT INTO users(username,password,admin)
+ * VALUES("admin","$1$65CMtT1M$GSDBTEZ6o5Web.4cDL6rz1",'1')
+ *
*/
class phpvbAuthMySQL implements phpvbAuth
{