|
@ -203,7 +203,7 @@ function firstLogin() {
|
203
|
203
|
"success": function(data) {
|
204
|
204
|
console.log(data)
|
205
|
205
|
if(data.success) {
|
206
|
|
if(data.data.authentication != undefined || data.data.authentication != null){
|
|
206
|
if(data.data.authentication || data.data.authentication===0){
|
207
|
207
|
location.href = "index.html";
|
208
|
208
|
}else{
|
209
|
209
|
location.href = "fillinfo-select.html?id=" + professorId;
|
|
@ -294,7 +294,6 @@ function InvitationLogin(_this) {
|
294
|
294
|
},
|
295
|
295
|
async: false,
|
296
|
296
|
success: function(data) {
|
297
|
|
console.log(data)
|
298
|
297
|
if(data.success) {
|
299
|
298
|
if(data.data != "null" && data.data != null) {
|
300
|
299
|
if(data.data.auth == true) {
|