Custom redirects for login

This commit is contained in:
ultimatemember
2014-12-22 23:34:05 +02:00
parent 9ac6d66347
commit 476581f3e3
10 changed files with 121 additions and 40 deletions
+2 -1
View File
@@ -182,7 +182,7 @@ class UM_Setup {
'default_homepage' => 1,
'status' => 'approved',
'auto_approve_act' => 'redirect_profile',
'after_login' => 'redirect_profile',
'after_login' => 'redirect_admin',
'after_logout' => 'redirect_home',
);
@@ -196,6 +196,7 @@ class UM_Setup {
'can_delete_roles' => 0,
'can_make_private_profile' => 0,
'can_access_private_profile' => 0,
'after_login' => 'redirect_profile',
);
}