|
|
@@ -31,16 +31,18 @@
|
|
31
|
31
|
success: function (data) {
|
|
32
|
32
|
if (data.state.toLowerCase() == "success") {
|
|
33
|
33
|
helper.cookies.set("openid", data.data, 7);
|
|
|
34
|
+
|
|
|
35
|
+ if (!helper.cookies.get("openid")) {
|
|
|
36
|
+ window.location.replace("html/error.html?r=" + Math.random());
|
|
|
37
|
+ }
|
|
|
38
|
+ gourl();
|
|
34
|
39
|
}
|
|
35
|
40
|
}
|
|
36
|
41
|
});
|
|
37
|
42
|
}
|
|
38
|
|
- if (!helper.cookies.get("openid")) {
|
|
39
|
|
- window.location.replace("html/error.html?r=" + Math.random());
|
|
40
|
|
- }
|
|
41
|
43
|
}
|
|
42
|
44
|
else {
|
|
43
|
|
- gourl()
|
|
|
45
|
+ gourl();
|
|
44
|
46
|
}
|
|
45
|
47
|
|
|
46
|
48
|
function gourl() {
|