auth-provider property should be required.
This commit is contained in:
1 parent
0439f0043e
commit
cc2e57e1d6
1 file changed
+1
-1
@@ -56,7 +56,7 @@ public class BasicLogin extends HttpServlet {
|
||||
|
||||
// Get auth provider instance
|
||||
try {
|
||||
authProvider = GuacamoleProperties.getProperty(BasicGuacamoleProperties.AUTH_PROVIDER);
|
||||
authProvider = GuacamoleProperties.getRequiredProperty(BasicGuacamoleProperties.AUTH_PROVIDER);
|
||||
}
|
||||
catch (GuacamoleException e) {
|
||||
logger.error("Error getting authentication provider from properties.", e);
|
||||
|
||||
Reference in new issue
Block a user