Compare commits
No commits in common. "d2bff4c5cb6515d6bb4101353bfc7572c6dd8b0e" and "7a3f95667079100f4e404ea766faa27be975edd8" have entirely different histories.
d2bff4c5cb
...
7a3f956670
2 changed files with 1 additions and 6 deletions
|
|
@ -17,7 +17,6 @@ class MailToAction(TargetAction):
|
||||||
targetWindow = 'blank'
|
targetWindow = 'blank'
|
||||||
bodyAttribute = 'description'
|
bodyAttribute = 'description'
|
||||||
subjectAttribute = 'title'
|
subjectAttribute = 'title'
|
||||||
mailToDelimiter = ', '
|
|
||||||
|
|
||||||
@Lazy
|
@Lazy
|
||||||
def url(self):
|
def url(self):
|
||||||
|
|
@ -33,7 +32,7 @@ class MailToAction(TargetAction):
|
||||||
for receiver in getattr(target, self.receivers):
|
for receiver in getattr(target, self.receivers):
|
||||||
if receiver.email:
|
if receiver.email:
|
||||||
if prefix:
|
if prefix:
|
||||||
mailto += self.mailToDelimiter
|
mailto += ', '
|
||||||
mailto += receiver.email
|
mailto += receiver.email
|
||||||
prefix = True
|
prefix = True
|
||||||
subject = getattr(target, self.subjectAttribute, '')
|
subject = getattr(target, self.subjectAttribute, '')
|
||||||
|
|
|
||||||
|
|
@ -66,10 +66,6 @@ class LoginBase:
|
||||||
return self.authOidc()
|
return self.authOidc()
|
||||||
return super(LoginBase, self).__call__()
|
return super(LoginBase, self).__call__()
|
||||||
|
|
||||||
def checkAuth(self):
|
|
||||||
if self.authMethod == 'oidc':
|
|
||||||
return self.authOidc()
|
|
||||||
|
|
||||||
@Lazy
|
@Lazy
|
||||||
def authMethod(self):
|
def authMethod(self):
|
||||||
if getConfigAuthMethod() == 'cookie':
|
if getConfigAuthMethod() == 'cookie':
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue