Permalink
Browse files

Revert "changed default user type to client"

This reverts commit 11a370d, which introduces an error when creating a new user, because it was not bundled with any logic to actually create the 'client' user role.

Additionally, the default role of 'admin' is used to authenticate users to the cms.  The original commit did not make any chances that would have allowed a user of type 'client' to have access to the cms.
  • Loading branch information...
1 parent 1c05c53 commit 1c66067009834a2fdd02311e701cfcbdd0c47231 @deepwinter committed Mar 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/usermanagement.php
View
2 config/usermanagement.php
@@ -46,7 +46,7 @@
* Array is of format array( {label} => {role unique text key})
*/
$config['managedRoles'] = array('Admin'=>'admin');
-$config['defaultRoles'] = 'client';
+$config['defaultRoles'] = 'admin';
$config['superuserEdit'] = true;
return $config;

0 comments on commit 1c66067

Please sign in to comment.