Browse Source

Change to Register

Signed-off-by: Suki <[email protected]>
Suki 10 years ago
parent
commit
44a6f60fdb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/Register.php

+ 1 - 1
Sources/Register.php

@@ -159,7 +159,7 @@ function Register($reg_errors = array())
 		$context['user']['is_owner'] = true;
 
 		// Here, and here only, emulate the permissions the user would have to do this.
-		$user_info['permissions'] = array_merge($user_info['permissions'], array('profile_account_own', 'profile_extra_own'));
+		$user_info['permissions'] = array_merge($user_info['permissions'], array('profile_account_own', 'profile_extra_own', 'profile_other_own', 'profile_password_own'));
 		$reg_fields = explode(',', $modSettings['registration_fields']);
 
 		// We might have had some submissions on this front - go check.