@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | /** |
| 163 | 163 | * get the current active user |
| 164 | 164 | * |
| 165 | - * @return IUser|null Current user, otherwise null |
|
| 165 | + * @return null|User Current user, otherwise null |
|
| 166 | 166 | */ |
| 167 | 167 | public function getUser() { |
| 168 | 168 | // FIXME: This is a quick'n dirty work-around for the incognito mode as |
@@ -277,6 +277,9 @@ discard block |
||
| 277 | 277 | } |
| 278 | 278 | } |
| 279 | 279 | |
| 280 | + /** |
|
| 281 | + * @param string $uid |
|
| 282 | + */ |
|
| 280 | 283 | private function loginWithToken($uid) { |
| 281 | 284 | $this->session->regenerateId(); |
| 282 | 285 | //$this->manager->emit('\OC\User', 'preTokenLogin', array($uid)); |