mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 06:39:40 +08:00
Merge branch '0.1.0-beta.7'
This commit is contained in:
commit
a8f792c34b
@ -104,9 +104,7 @@ class RegisterUserHandler
|
||||
// from the get-go.
|
||||
if (isset($token)) {
|
||||
foreach ($token->payload as $k => $v) {
|
||||
if (in_array($user->$k, ['', null], true)) {
|
||||
$user->$k = $v;
|
||||
}
|
||||
$user->$k = $v;
|
||||
}
|
||||
|
||||
if (isset($token->payload['email'])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user