summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/service/sql/users/authenticate.sql
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse-api/service/sql/users/authenticate.sql')
-rw-r--r--gentoobrowse-api/service/sql/users/authenticate.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/gentoobrowse-api/service/sql/users/authenticate.sql b/gentoobrowse-api/service/sql/users/authenticate.sql
new file mode 100644
index 0000000..86b8cc1
--- /dev/null
+++ b/gentoobrowse-api/service/sql/users/authenticate.sql
@@ -0,0 +1,5 @@
+SELECT userid, username, userrealname, useremail
+FROM gentoobrowse.users
+WHERE username = ?
+AND userpassword = ?
+AND verifyguid IS NULL