forked from science-ation/science-ation
Part of the last commit belongs on this one. Move the user, email, and
password stuff ot of user_personal.php
This commit is contained in:
parent
28004d6fe8
commit
a40100c03f
@ -88,12 +88,6 @@ if($eid != $_SESSION['users_id']) {
|
||||
user_personal_required_fields($r));
|
||||
}
|
||||
|
||||
if($_SESSION['superuser'] == 'yes') {
|
||||
/* If the editer is super, let them see/edit/save the user/pass */
|
||||
$fields[] = 'username';
|
||||
$fields[] = 'password';
|
||||
}
|
||||
|
||||
switch($_GET['action']) {
|
||||
case 'save':
|
||||
$users_id = intval($_POST['users_id']);
|
||||
|
Loading…
Reference in New Issue
Block a user