mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-05 02:23:42 +02:00
Add logout attribute for < 12.0.3
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
3eceb2cc56
commit
54804783c2
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue