first(); if ($user && Hash::check($password, $user->password)) { // THIS is the new required step $this->currentPrincipal = 'principals/' . $user->email; \Log::info('SabreDAV auth success', ['principal' => $this->currentPrincipal]); return true; } \Log::warning('SabreDAV auth failed', ['username' => $username]); return false; } public function getCurrentPrincipal() { \Log::debug('SabreDAV getCurrentPrincipal', ['current' => $$this->currentPrincipal]); return $this->currentPrincipal; } }