User can change his timezone

This commit is contained in:
leosw
2022-02-01 22:35:08 +01:00
parent 507bf492a0
commit f60cf54bab
3 changed files with 12 additions and 4 deletions

View File

@@ -126,6 +126,7 @@ if(isset($controller->splitted_url[1])) {
if($_POST['password']!='')
$userProfile->password=sha1($_POST['password']);
$userProfile->locale=$_POST['locale'];
$userProfile->timezone=$_POST['timezone'];
if($user->rankIsHigher("administrator"))
$userProfile->rank = $_POST['rank'];
$userProfile->website=$_POST['website'];