parent
a6724f2495
commit
243722df93
1 changed files with 7 additions and 8 deletions
|
@ -85,7 +85,7 @@ sub post_login {
|
||||||
session_key => $session_key,
|
session_key => $session_key,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
return $c->render(
|
return $c->render(
|
||||||
json => {
|
json => {
|
||||||
success => Mojo::JSON->false,
|
success => Mojo::JSON->false,
|
||||||
|
@ -93,7 +93,6 @@ sub post_login {
|
||||||
},
|
},
|
||||||
status => 401
|
status => 401
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub post_logout {
|
sub post_logout {
|
||||||
|
|
Reference in a new issue