We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 0b526683 authored by Mike Sheldon's avatar Mike Sheldon

Fix some incorrect indentation

parent 1abf363d
......@@ -41,10 +41,10 @@ if(isset($_POST['login'])) {
if(empty($errors)) {
try {
$sql = 'SELECT uniqueid FROM Users WHERE '
. ' lower(username) = ' . $adodb->qstr(strtolower($username))
. ' AND password = ' . $adodb->qstr(md5($password)) . ' AND active = 1';
$userid = $adodb->GetOne($sql);
$sql = 'SELECT uniqueid FROM Users WHERE '
. ' lower(username) = ' . $adodb->qstr(strtolower($username))
. ' AND password = ' . $adodb->qstr(md5($password)) . ' AND active = 1';
$userid = $adodb->GetOne($sql);
}
catch (exception $e) {
$errors .= 'A database error happened.';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment