You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Desktop, Cli, Mobile, Server: Add Joplin Server SAML support (#11865)
This commit is contained in:
@@ -83,6 +83,16 @@ export default class ShareService {
|
||||
userContentBaseUrl: () => Setting.value(`sync.${syncTargetId}.userContentPath`),
|
||||
username: () => Setting.value(`sync.${syncTargetId}.username`),
|
||||
password: () => Setting.value(`sync.${syncTargetId}.password`),
|
||||
session: () => {
|
||||
if (syncTargetId === 11) {
|
||||
return {
|
||||
id: Setting.value('sync.11.id'),
|
||||
user_id: Setting.value('sync.11.userId'),
|
||||
};
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
return this.api_;
|
||||
|
||||
Reference in New Issue
Block a user