aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyaggr3g470r/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index 5028a950..a8d6da51 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -796,8 +796,8 @@ def disable_user(user_id=None):
import random, base64, hashlib
user.apikey = base64.b64encode(hashlib.sha512( str(random.getrandbits(256)) ).digest(),
random.choice(['rA','aZ','gQ','hH','hG','aR','DD'])).rstrip('==')
- flash('Account of the user A"' + user.nickname + '" successfully disabled.', 'success')
+ flash('Account of the user "' + user.nickname + '" successfully disabled.', 'success')
db.session.commit()
else:
flash('This user does not exist.', 'danger')
- return redirect(redirect_url()) \ No newline at end of file
+ return redirect(redirect_url())
bgstack15