We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed47fc3 commit fe0f39aCopy full SHA for fe0f39a
func/main.sh
@@ -556,7 +556,7 @@ validate_format_email() {
556
557
# Username
558
validate_format_username() {
559
- if ! [[ "$1" =~ ^[0-Z]+(\.[0-Z]+)?$ ]] || [[ "${#1}" -gt 28 ]]; then
+ if ! [[ "$1" =~ ^[0-z]+(\.[0-z]+)?$ ]] || [[ "${#1}" -gt 28 ]]; then
560
echo "Error: $2 $1 is not valid"
561
log_event "$E_INVALID" "$EVENT"
562
exit $E_INVALID
web/inc/main.php
@@ -30,6 +30,7 @@ function top_panel($user, $TAB) {
30
exec ($command, $output, $return_var);
31
if ( $return_var > 0 ) {
32
header("Location: /error/");
33
+ exit;
34
}
35
$panel = json_decode(implode('', $output), true);
36
unset($output);
0 commit comments