Add device token management and server connection detection
This commit is contained in:
parent
0d4202562f
commit
9d4c736d95
14 changed files with 4990 additions and 7 deletions
|
@ -60,6 +60,18 @@ sub auth {
|
|||
return 0;
|
||||
}
|
||||
|
||||
sub test_connection {
|
||||
my $c = shift;
|
||||
|
||||
return $c->render(
|
||||
json => {
|
||||
success => Mojo::JSON->true,
|
||||
message => 'Database connection successful',
|
||||
},
|
||||
status => 200,
|
||||
);
|
||||
}
|
||||
|
||||
sub post_login {
|
||||
my $c = shift;
|
||||
|
||||
|
|
Reference in a new issue