Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
8ced286c
Commit
8ced286c
authored
Oct 05, 2016
by
David Haynes
Browse files
FIX THE THING
parent
0c7199da
Pipeline
#371
passed with stage
in 3 minutes and 48 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
go/go/views.py
View file @
8ced286c
...
...
@@ -303,7 +303,7 @@ def useradmin(request):
for
name
in
userlist
:
todeny
=
RegisteredUser
.
objects
.
get
(
user__username__exact
=
name
)
if
settings
.
EMAIL_HOST
and
settings
.
EMAIL_PORT
:
user_mail
=
todeny
.
user
+
settings
.
EMAIL_DOMAIN
user_mail
=
todeny
.
user
.
username
+
settings
.
EMAIL_DOMAIN
send_mail
(
'Your Account has been Denied!'
,
######################
...
...
David Haynes
🙆
@dhaynes3
Mentioned in issue
#67 (closed)
·
Oct 12, 2016
Mentioned in issue
#67 (closed)
Mentioned in issue #67
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment