mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 10:47:25 +01:00
server: Return token as plain text
This commit is contained in:
parent
3a7bc24968
commit
9e0c6fa00a
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ class LoginController extends Controller {
|
|||
|
||||
final token = builder.getSignedToken(_signer).toString();
|
||||
|
||||
return Response.ok(token);
|
||||
return Response.ok(token, headers: {'Content-Type': 'text/plain'});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue