@ -50,7 +50,7 @@ function show_error(error) {
$("#error").show();
}
function success(session_id) {
window.location.href = <%- JSON.stringify(req.query.url || '/') %>;
window.location.href = location.protocol + '//' + location.host + <%- JSON.stringify(req.query.url || '/') %>;
function login() {
password = md5($("#password").val() + "syzoj2_xxx");
@ -37,7 +37,7 @@ function show_error(error) {
function success() {
alert("注册成功!");
function mail_required() {