Skip to content

Commit 7b56208

Browse files
committed
Better login error message.
1 parent 0cef61a commit 7b56208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/login/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public function render() {
151151
}
152152
} else {
153153
//* Username or password empty
154-
$error = $app->lng(1001);
154+
if($error == '') $error = $app->lng(1001);
155155
}
156156
}
157157
if($error != ''){

0 commit comments

Comments
 (0)