Prevent creating custom kaehmy role with existing name
This commit is contained in:
+2
-1
@@ -235,7 +235,8 @@ def kaehmy_comment(request, *args, **kwargs):
|
||||
'Käy lukemassa viesti osoitteessa http://sika.sahkoinsinoorikilta.fi/kaehmy').format(name.capitalize())
|
||||
|
||||
send_email(email, subject, body)
|
||||
logging.debug('Sent kaehmy comment email to recipient <{}>'.format(email))
|
||||
logging.debug(
|
||||
'Sent kaehmy comment email to recipient <{}>'.format(email))
|
||||
|
||||
return redirect('/kaehmy')
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user