开发者 |
vaurdan
jpargana ricardobaeta sandrof |
---|---|
更新时间 | 2014年9月4日 22:29 |
捐献地址: | 去捐款 |
PHP版本: | 3.5 及以上 |
WordPress版本: | 4.0 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
/wp-content/plugins/
)wp-config.php
file. That way you can configure CAS Maestro before revert the previous instruction.
Did you know... If you leave empty fields in CAS Maestro configuration, the plugin will ask you to fill fields before final activation. Therefore you can use WordPress login system before the configuration conclusion.You can bypass the CAS Authentication logging-in on http://www.example.com/wp-login.php?wp. This will allow you to login using your WordPress account. Beside that, you can temporary disable the WordPress behavior doing the following:
define('WP_DEBUG', false)
su; definitiondefine('WPCAS_BYPASS',true)
;Yes. But the login URL is slighty different: you must login over /wp-login.php?wp
URL. This will give access to the standard WordPress login form so you can use both authentication methods.
There is a filter cas_maestro_change_users_capability
that can be used to change the capability. You can add the following to your functions.php:
function change_casmaestro_capabilities($old) { return 'your_new_capability'; } add_filter('cas_maestro_change_users_capability', 'change_casmaestro_capabilities');
By default, the capability is edit_posts
.