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'
|
||||
bodyAttribute = 'description'
|
||||
subjectAttribute = 'title'
|
||||
mailToDelimiter = ', '
|
||||
|
||||
@Lazy
|
||||
def url(self):
|
||||
|
|
@ -33,7 +32,7 @@ class MailToAction(TargetAction):
|
|||
for receiver in getattr(target, self.receivers):
|
||||
if receiver.email:
|
||||
if prefix:
|
||||
mailto += self.mailToDelimiter
|
||||
mailto += ', '
|
||||
mailto += receiver.email
|
||||
prefix = True
|
||||
subject = getattr(target, self.subjectAttribute, '')
|
||||
|
|
|
|||
|
|
@ -66,10 +66,6 @@ class LoginBase:
|
|||
return self.authOidc()
|
||||
return super(LoginBase, self).__call__()
|
||||
|
||||
def checkAuth(self):
|
||||
if self.authMethod == 'oidc':
|
||||
return self.authOidc()
|
||||
|
||||
@Lazy
|
||||
def authMethod(self):
|
||||
if getConfigAuthMethod() == 'cookie':
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue