diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-09-18 15:11:43 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-09-18 15:11:43 +0300 |
commit | 54804783c2c9bd99c68cc259007c25647428dd1e (patch) | |
tree | a2020c2deccd74ed3bacab91815a6dca220d849a /lib/UserBackend.php | |
parent | 3eceb2cc566db8e6797457949a42ecd95dc05250 (diff) |
Add logout attribute for < 12.0.3
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/UserBackend.php')
-rw-r--r-- | lib/UserBackend.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/UserBackend.php b/lib/UserBackend.php index 73536b29..1eb8ac6a 100644 --- a/lib/UserBackend.php +++ b/lib/UserBackend.php @@ -338,6 +338,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 * @since 6.0.0 |