This commit is contained in:
Andrew Morgan 2019-02-15 21:22:13 +00:00 committed by GitHub
parent 819c2b0bc3
commit c6bbe9e020
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,7 +156,7 @@ class UiWebsocketPlugin(object):
if user.master_address:
script = "document.cookie = 'master_address=%s;path=/;max-age=2592000;';" % user.master_address
script += "zeroframe.cmd('wrapperReload', ['login=done']);"
self.cmd("notification", ["done", "Successfull login, reloading page..."])
self.cmd("notification", ["done", "Successful login, reloading page..."])
self.cmd("injectScript", script)
else:
self.cmd("notification", ["error", "Error: Invalid master seed"])