mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 21:29:58 +09:00
openID 인증시 이름 요구받지 않도록 변경
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2305 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
808dae76e0
commit
0e0899fab9
1 changed files with 3 additions and 1 deletions
|
|
@ -50,7 +50,7 @@
|
|||
$openid->SetIdentity($user_id);
|
||||
$openid->SetTrustRoot('http://' . $_SERVER["HTTP_HOST"]);
|
||||
|
||||
$openid->SetRequiredFields(array('email','fullname'));
|
||||
$openid->SetRequiredFields(array('email'));
|
||||
$openid->SetOptionalFields(array('dob'));
|
||||
|
||||
if (!$openid->GetOpenIDServer()) {
|
||||
|
|
@ -98,7 +98,9 @@
|
|||
if(!$output->toBool()) {
|
||||
$args->password = md5(getmicrotime());
|
||||
$output = $this->insertMember($args);
|
||||
if(!$output->toBool()) return $this->stop($output->getMessage());
|
||||
$output = $this->doLogin($args->user_id);
|
||||
if(!$output->toBool()) return $this->stop($output->getMessage());
|
||||
}
|
||||
|
||||
// 페이지 이동
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue