diff --git a/service_plugins/minecraft.py b/service_plugins/minecraft.py index 0c1f99c62661f1156790f874f5234287ad14d482..bc7c2f3f26693d67cd7512275c63645ca936faf9 100644 --- a/service_plugins/minecraft.py +++ b/service_plugins/minecraft.py @@ -113,7 +113,7 @@ def minecraft_register(**kwargs): if response != "": db.mc_users.delete_one( filter={'username': session['username'], 'mcuser': request.form['username']}) - return rqtools.get_400("Unsuccessful operation. Maybe the password was too weak or it contained your username?") + return rqtools.get_400(None, errormsg="Unsuccessful operation. Maybe the password was too weak or it contained your username?") db.sendMessage(session['username'], 'Successful registration.') return rqtools.redirect(rqtools.url_for('service', servicename='minecraft'))