From 65ed8a49fd811606950f71763d85c28252c617bf Mon Sep 17 00:00:00 2001
From: Daniel Gerhardt <code@dgerhardt.net>
Date: Tue, 28 Feb 2017 16:57:09 +0100
Subject: [PATCH] Fix config inconsistency for allowed Facebook login roles

Changed `security.facebook.enabled-roles` to
`security.facebook.allowed-roles`.
---
 src/main/java/de/thm/arsnova/controller/LoginController.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/de/thm/arsnova/controller/LoginController.java b/src/main/java/de/thm/arsnova/controller/LoginController.java
index 3df278fcc..b7021924c 100644
--- a/src/main/java/de/thm/arsnova/controller/LoginController.java
+++ b/src/main/java/de/thm/arsnova/controller/LoginController.java
@@ -107,7 +107,7 @@ public class LoginController extends AbstractController {
 	@Value("${security.cas.order}") private int casOrder;
 
 	@Value("${security.facebook.enabled}") private boolean facebookEnabled;
-	@Value("${security.facebook.enabled-roles:speaker,student}") private String[] facebookRoles;
+	@Value("${security.facebook.allowed-roles:speaker,student}") private String[] facebookRoles;
 	@Value("${security.facebook.order}") private int facebookOrder;
 
 	@Value("${security.google.enabled}") private boolean googleEnabled;
-- 
GitLab