mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-25 18:54:29 +01:00
Merge branch 'master' of https://github.com/kakwa/ldapcherry
This commit is contained in:
commit
56208d36a0
@ -158,9 +158,9 @@ div.body h6 {
|
||||
div.body h1 { border-top: 20px solid white; margin-top: 0; font-size: 225%; color: #EEEEEE; background-color: #6f8c93;}
|
||||
div.body h2 { font-size: 140%; color: #EEEEEE; background-color: #6f8c93; }
|
||||
div.body h3 { font-size: 120%; color: #2C001E; background-color: #accbd3; }
|
||||
div.body h4 { font-size: 100%; color: #EEEEEE; background-color: #accbd3; }
|
||||
div.body h5 { font-size: 100%; color: #EEEEEE; background-color: #accbd3; }
|
||||
div.body h6 { font-size: 100%; color: #EEEEEE; background-color: #accbd3; }
|
||||
div.body h4 { font-size: 100%; color: #EEEEEE; background-color: #accbd3; color: #000000}
|
||||
div.body h5 { font-size: 100%; color: #EEEEEE; background-color: #accbd3; color: #000000}
|
||||
div.body h6 { font-size: 100%; color: #EEEEEE; background-color: #accbd3; color: #000000}
|
||||
|
||||
a.headerlink {
|
||||
color: #333333;
|
||||
|
@ -196,6 +196,16 @@ class UserDoesntExist(Exception):
|
||||
" in backend '" + backend + "'"
|
||||
|
||||
|
||||
class UserAlreadyExists(Exception):
|
||||
def __init__(self, user, backend):
|
||||
self.user = user
|
||||
self.bakend = backend
|
||||
self.log = \
|
||||
"user '" + user + "'" \
|
||||
" already exists" \
|
||||
" in backend '" + backend + "'"
|
||||
|
||||
|
||||
class GroupDoesntExist(Exception):
|
||||
def __init__(self, group, backend):
|
||||
self.group = group
|
||||
|
Loading…
Reference in New Issue
Block a user