|
|
@ -80,7 +80,8 @@ if (isset($_POST) && $_POST) { |
|
|
|
$_SESSION['userName'] = $userName; |
|
|
|
$_SESSION['userName'] = $userName; |
|
|
|
$_SESSION['userId'] = $userId; |
|
|
|
$_SESSION['userId'] = $userId; |
|
|
|
|
|
|
|
|
|
|
|
$_memcache->flush(); |
|
|
|
$_memcache->delete('api.user.profile.' . $userName); |
|
|
|
|
|
|
|
$_memcache->delete('api.user.avatar.' . $userName); |
|
|
|
|
|
|
|
|
|
|
|
// Redirect |
|
|
|
// Redirect |
|
|
|
header('Location: ' . PROJECT_HOST, true, 302); |
|
|
|
header('Location: ' . PROJECT_HOST, true, 302); |
|
|
|