We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe1eadd commit bdae85aCopy full SHA for bdae85a
front/formdisplay.php
@@ -53,7 +53,7 @@
53
}
54
55
// If the form has restriced access and user is not logged in, send to login form
56
- if ($form->fields['access_rights'] == PluginFormcreatorForm::ACCESS_RESTRICTED && Session::getLoginUserID() === false) {
+ if ($form->fields['access_rights'] != PluginFormcreatorForm::ACCESS_PUBLIC && Session::getLoginUserID() === false) {
57
Session::redirectIfNotLoggedIn();
58
exit();
59
0 commit comments