Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/adapter/PhutilGoogleAuthAdapter.php
Context not available. | |||||
public function getAccountName() { | public function getAccountName() { | ||||
// Guess account name from email address, this is just a hint anyway. | // Guess account name from email address, this is just a hint anyway. | ||||
$email = $this->getAccountEmail(); | $email = $this->getAccountEmail(); | ||||
$email = explode('@', $email); | $email = @explode('@', $email); | ||||
$email = head($email); | $email = head($email); | ||||
return $email; | return $email; | ||||
} | } | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0