medsrv: Add missing return to avoid infinite loop while verifying username
This commit is contained in:
1 parent
fcac9fe5df
commit
bdbdd46941
1 file changed
+1
@@ -149,6 +149,7 @@ static bool verify_login(private_user_controller_t *this,
|
||||
default:
|
||||
request->setf(request, "error=Username invalid, "
|
||||
"valid characters: A-Z a-z 0-9 - _ @ .");
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
return TRUE;
|
||||
|
||||
Reference in new issue
Block a user