update session config to allow unbindin emails to not be sent.

This commit is contained in:
eyecreate
2019-10-21 15:28:30 -04:00
committed by GitHub
parent 36f22e5ca6
commit 6e52a509db

View File

@@ -48,6 +48,8 @@ public class SessionConfig {
private boolean enabled = true;
private boolean notifications = true;
public boolean getEnabled() {
return enabled;
}
@@ -55,11 +57,20 @@ public class SessionConfig {
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
public boolean shouldNotify() {
return notifications;
}
public void setNotifications(boolean notifications) {
this.notifications = notifications;
}
}
public Policy() {
validation.enabled = true;
unbind.enabled = true;
unbind.notifications = true;
}
private PolicyTemplate validation = new PolicyTemplate();