|
|
|
@ -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"); |
|
|
|
|