@tec4sho Something is very wrong here. I clicked the link to your website shown at your profile here at www.ads-software.com, and it immediately showed me the CIDRAM front-end login page. Such a thing shouldn’t normally be possible.
If you check the cidram.php
file at the root directory of the CIDRAM plugin, you’ll notice that at the point where the view()
method is called (the method responsible for displaying the CIDRAM front-end), the call is guarded by requiring the edit_plugins
permission to be set, which by default, is only given to admins and super admins:
add_action('init', function() use (&$CIDRAM) {
if (current_user_can('edit_plugins')) {
$CIDRAM->view();
}
});
This is done for the sake of security, specifically, to prevent unauthorised access to the CIDRAM front-end (the rationale for using edit_plugins
as a guard being that if a user is capable of editing plugins in the first place at all, then they must surely be authorised to use an interface intended to administrate one of said plugins, too).
The fact that I’m seeing the CIDRAM front-end login page when accessing your website (which, given that I’ve never accessed it before, and therefore, naturally, won’t be logged into it, shouldn’t have edit_plugins
permissions set) tells me that either (1) where the method call occurs at your WordPress installation, for some reason, that same guard isn’t in place, or (2) at your WordPress installation, for some reason, something has gone wrong with how the permissions for edit_plugins
are being set.
On the bright side, it *also* tells me that CIDRAM is, in fact, installed at your WordPress installation. However, until we’re able to figure out why the CIDRAM front-end login page is displaying for non-logged in users like that, I would recommend disabling the plugin, at least temporarily. The only one you want being able to see the CIDRAM front-end login page, in most cases, is just you.