resolve conflicts
darcs-hash:20081210014619-5ed1f-b78d0990f80f7fee6f31424bc1e366d08767af9d.gz
This commit is contained in:
parent
407ce3bd8f
commit
b9fdc2c419
@ -238,7 +238,7 @@ class FinishopenidloginAction extends Action {
|
|||||||
$result = oid_link_user($user->id, $canonical, $display);
|
$result = oid_link_user($user->id, $canonical, $display);
|
||||||
|
|
||||||
oid_set_last($display);
|
oid_set_last($display);
|
||||||
common_set_user($user->nickname);
|
common_set_user($user);
|
||||||
common_real_login(true);
|
common_real_login(true);
|
||||||
if (isset($_SESSION['openid_rememberme']) && $_SESSION['openid_rememberme']) {
|
if (isset($_SESSION['openid_rememberme']) && $_SESSION['openid_rememberme']) {
|
||||||
common_rememberme($user);
|
common_rememberme($user);
|
||||||
@ -303,7 +303,6 @@ class FinishopenidloginAction extends Action {
|
|||||||
|
|
||||||
# Try the passed-in nickname
|
# Try the passed-in nickname
|
||||||
|
|
||||||
|
|
||||||
if ($sreg['nickname']) {
|
if ($sreg['nickname']) {
|
||||||
$nickname = $this->nicknamize($sreg['nickname']);
|
$nickname = $this->nicknamize($sreg['nickname']);
|
||||||
if ($this->is_new_nickname($nickname)) {
|
if ($this->is_new_nickname($nickname)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user