Add logout attribute for < 12.0.3

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-09-18 14:11:43 +02:00
parent 3eceb2cc56
commit 54804783c2
No known key found for this signature in database
GPG key ID: B9F6980CF6E759B1

View file

@ -337,6 +337,15 @@ class UserBackend implements IApacheBackend, UserInterface, IUserBackend {
);
}
/**
* Logout attribute for Nextcloud < 12.0.3
*
* @return string
*/
public function getLogoutAttribute() {
return 'style="display:none;"';
}
/**
* Return the id of the current user
* @return string