Browse Source

Fix email not being saved in "Settings" page

Alan Lam 4 years ago
parent
commit
be1daf8576
1 changed files with 1 additions and 0 deletions
  1. 1 0
      controllers/settings.php

+ 1 - 0
controllers/settings.php

@@ -19,6 +19,7 @@ if($submit) {
 		$user->title = $request->string("title");
 		$user->first_name = $request->string("first_name");
 		$user->last_name = $request->string("last_name");
+		$user->email = $request->string("email");
 
 		$password = $request->raw("password");
 		if($password) {