summaryrefslogtreecommitdiffstats
path: root/Dozentenmodul/src/gui/intro/Login_GUI.java
diff options
context:
space:
mode:
authorMichael Wilson2014-08-25 10:01:59 +0200
committerMichael Wilson2014-08-25 10:01:59 +0200
commite0ca1a6363e21715a207eb7208cb062a9ae5b2fa (patch)
tree3fb0601d128c113ea0710e3d8113203f89308413 /Dozentenmodul/src/gui/intro/Login_GUI.java
parentAusblendung nicht erlaubter Operationen im Hauptmenü (diff)
parentMerge branch 'master' of git.openslx.org:openslx-ng/tutor-module (diff)
downloadtutor-module-e0ca1a6363e21715a207eb7208cb062a9ae5b2fa.tar.gz
tutor-module-e0ca1a6363e21715a207eb7208cb062a9ae5b2fa.tar.xz
tutor-module-e0ca1a6363e21715a207eb7208cb062a9ae5b2fa.zip
Merge branch 'master' of ssh://git.openslx.org/openslx-ng/tutor-module
Diffstat (limited to 'Dozentenmodul/src/gui/intro/Login_GUI.java')
-rw-r--r--Dozentenmodul/src/gui/intro/Login_GUI.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/Dozentenmodul/src/gui/intro/Login_GUI.java b/Dozentenmodul/src/gui/intro/Login_GUI.java
index f93d700d..316f7b7c 100644
--- a/Dozentenmodul/src/gui/intro/Login_GUI.java
+++ b/Dozentenmodul/src/gui/intro/Login_GUI.java
@@ -295,6 +295,12 @@ public class Login_GUI extends JFrame {
person.verantwortlicher.setVorname(user.firstName);
person.verantwortlicher.setEMail(user.eMail);
person.verantwortlicher.setHochschule(hochschule);
+
+ //Rechte anlegen bzw. checken ob user existiert wenn nicht anlegen
+ if(SessionData.session.getRole().equals("Student")){
+ boolean ret=bwClient.checkUser(person.verantwortlicher.getUsername());
+ System.out.println("User exist: "+ret);
+ }
try {
// Lege config File an und entscheide welches Fenster